aa
This commit is contained in:
@@ -232,8 +232,8 @@ func (c *OrderController) GetOrderWaybillInfo() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 补全遗漏的订单
|
||||
// @Description 补全遗漏的订单
|
||||
// @Title 加小费
|
||||
// @Description 加小费
|
||||
// @Param token header string true "认证token"
|
||||
// @Param vendorOrderID formData string true "订单ID"
|
||||
// @Param vendorID formData int true "订单所属的厂商ID"
|
||||
@@ -243,7 +243,7 @@ func (c *OrderController) GetOrderWaybillInfo() {
|
||||
// @router /UpdateOrderWaybillTip [post]
|
||||
func (c *OrderController) UpdateOrderWaybillTip() {
|
||||
c.callUpdateOrderWaybillTip(func(params *tOrderUpdateOrderWaybillTipParams) (retVal interface{}, errCode string, err error) {
|
||||
err = defsch.FixedScheduler.SetOrderWaybillTip(params.Ctx, params.VendorOrderID, params.VendorID, int64(params.TipFee))
|
||||
errCode, err = defsch.FixedScheduler.SetOrderWaybillTip(params.Ctx, params.VendorOrderID, params.VendorID, int64(params.TipFee))
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
@@ -374,6 +374,7 @@ func (c *JxOrderController) ReceiveCoupons() {
|
||||
// @Title 创建门店账户订单
|
||||
// @Description 创建门店账户订单
|
||||
// @Param token header string true "认证token"
|
||||
// @Param vendorOrderID formData string false "订单ID"
|
||||
// @Param orderType formData int true "订单类型,4为门店账户订单"
|
||||
// @Param storeID formData int true "门店ID"
|
||||
// @Param price formData int true "支付金额"
|
||||
@@ -382,7 +383,7 @@ func (c *JxOrderController) ReceiveCoupons() {
|
||||
// @router /CreateStoreAcctOrder [post]
|
||||
func (c *JxOrderController) CreateStoreAcctOrder() {
|
||||
c.callCreateStoreAcctOrder(func(params *tJxorderCreateStoreAcctOrderParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = localjx.CreateStoreAcctOrder(params.Ctx, params.OrderType, params.StoreID, params.Price)
|
||||
retVal, err = localjx.CreateStoreAcctOrder(params.Ctx, params.OrderType, params.StoreID, params.Price, params.VendorOrderID)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user