This commit is contained in:
苏尹岚
2021-03-03 14:11:22 +08:00
parent f37545de19
commit 7fa0849e17
9 changed files with 123 additions and 44 deletions

View File

@@ -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
})
}