From ea1c62793a35100fc22ff9b129be98fee6db27e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 11 Aug 2020 10:20:13 +0800 Subject: [PATCH] =?UTF-8?q?actstoresku=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/act.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/model/act.go b/business/model/act.go index 7d024468d..f9bd995f6 100644 --- a/business/model/act.go +++ b/business/model/act.go @@ -156,6 +156,8 @@ type ActStoreSku struct { ActPrice int64 `orm:"" json:"actPrice"` // 单品级活动用,SKU级指定的价格,非0覆盖CustomPricePercentage与Act中的PricePercentage EarningPrice int64 `json:"earningPrice"` // 活动商品设置,结算给门店老板的钱 Stock int `orm:"" json:"stock"` // 活动库存 + TrendType int `json:"trendType"` //折扣活动使用,涨跌趋势,1为涨,2为跌,0为不动 + TrendPrcie int `json:"trendPrice"` //涨跌具体多少 } func (*ActStoreSku) TableUnique() [][]string {