This commit is contained in:
苏尹岚
2021-01-20 10:32:53 +08:00
parent b87c390946
commit d27aa2c7ef
2 changed files with 44 additions and 2 deletions

View File

@@ -42,6 +42,9 @@ const (
CouponStatusOverdue = -1 //已过期
CouponStatusNormal = 0 //正常
CouponStatusDeleted = -4 //被删了
CouponTypeDiscount = 1 //优惠券类型,总额满减
CouponTypeDelivery = 2 //运费优惠
)
const (
@@ -143,6 +146,7 @@ type GoodsOrder struct {
EarningType int `json:"earningType"` //订单结算方式2为扣点1为报价
OrderType int `json:"orderType"` //订单类型0为普通订单1为物料订单2为进货订单
OrderPayPercentage int `json:"orderPayPercentage"`
CouponIDs string `orm:"column(coupon_ids)" json:"couponIDs"` //优惠券IDs京西商城
// 以下只是用于传递数据
OriginalData string `orm:"-" json:"-"`