|
|
@@ -89,6 +89,7 @@ func OrderList(c *gin.Context) { |
|
|
|
"store_name": storeName, |
|
|
|
"goods_info": goodsInfo, |
|
|
|
"amount": v.Amount, |
|
|
|
"table_num": v.TableNum, |
|
|
|
"num": utils.IntToStr(v.Num), |
|
|
|
"timer": "", |
|
|
|
"code": v.Code, |
|
|
@@ -202,6 +203,7 @@ func OrderDetail(c *gin.Context) { |
|
|
|
"km": km, |
|
|
|
"amount": data.Amount, |
|
|
|
"num": utils.IntToStr(data.Num), |
|
|
|
"table_num": data.TableNum, |
|
|
|
"timer": "", |
|
|
|
"code": data.Code, |
|
|
|
"down_time": downTime, |
|
|
@@ -622,6 +624,7 @@ func OrderCreate(c *gin.Context) { |
|
|
|
Oid: utils.StrToInt64(ordId), |
|
|
|
Amount: totalPrice, |
|
|
|
MealNum: utils.StrToInt(arg.MealNum), |
|
|
|
TableNum: arg.TableNum, |
|
|
|
} |
|
|
|
if store.ParentUid > 0 { //代理下门店 |
|
|
|
order.StoreType = 2 |
|
|
|