aa
This commit is contained in:
@@ -482,6 +482,14 @@ func (v *StoreCoupons) TableIndex() [][]string {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type AcctOrder struct {
|
||||||
|
ID int64 `orm:"column(id)" json:"id"`
|
||||||
|
VendorOrderID string `orm:"column(vendor_order_id);size(48)" json:"vendorOrderID"`
|
||||||
|
VendorID int `orm:"column(vendor_id)" json:"vendorID"`
|
||||||
|
StoreID int `orm:"column(store_id)" json:"storeID"`
|
||||||
|
UserID string `orm:"column(user_id);size(48);index" json:"userID"`
|
||||||
|
}
|
||||||
|
|
||||||
// 判断是否是购买平台自有物流
|
// 判断是否是购买平台自有物流
|
||||||
// 对于京东,饿百来说,就是其自有的物流,对于微商城来说,是达达
|
// 对于京东,饿百来说,就是其自有的物流,对于微商城来说,是达达
|
||||||
func IsWaybillPlatformOwn(bill *Waybill) bool {
|
func IsWaybillPlatformOwn(bill *Waybill) bool {
|
||||||
|
|||||||
@@ -2430,3 +2430,7 @@ func RefreshCouponsStatus(ctx *jxcontext.Context) (err error) {
|
|||||||
task.GetID()
|
task.GetID()
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func CreateStoreAcctOrder(ctx *jxcontext.Context, orderType, storeID, price int) (err error) {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|||||||
@@ -372,7 +372,6 @@ func (c *JxOrderController) ReceiveCoupons() {
|
|||||||
// @Title 创建门店账户订单
|
// @Title 创建门店账户订单
|
||||||
// @Description 创建门店账户订单
|
// @Description 创建门店账户订单
|
||||||
// @Param token header string true "认证token"
|
// @Param token header string true "认证token"
|
||||||
// @Param type formData int true "支付类型/账单类型"
|
|
||||||
// @Param orderType formData int true "订单类型,1为账户充值"
|
// @Param orderType formData int true "订单类型,1为账户充值"
|
||||||
// @Param storeID formData int true "门店ID"
|
// @Param storeID formData int true "门店ID"
|
||||||
// @Param price formData int true "支付金额"
|
// @Param price formData int true "支付金额"
|
||||||
@@ -381,6 +380,7 @@ func (c *JxOrderController) ReceiveCoupons() {
|
|||||||
// @router /CreateStoreAcctOrder [post]
|
// @router /CreateStoreAcctOrder [post]
|
||||||
func (c *JxOrderController) CreateStoreAcctOrder() {
|
func (c *JxOrderController) CreateStoreAcctOrder() {
|
||||||
c.callCreateStoreAcctOrder(func(params *tJxorderCreateStoreAcctOrderParams) (retVal interface{}, errCode string, err error) {
|
c.callCreateStoreAcctOrder(func(params *tJxorderCreateStoreAcctOrderParams) (retVal interface{}, errCode string, err error) {
|
||||||
|
localjx.CreateStoreAcctOrder(params.Ctx, params.OrderType, params.StoreID, params.Price)
|
||||||
return retVal, "", err
|
return retVal, "", err
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user