From e36ca7fee4d7ef0a4e27a3f72c8e4878c2231848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 14 May 2020 08:55:22 +0800 Subject: [PATCH] =?UTF-8?q?ordersku=E6=96=B0=E5=A2=9E=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/model/order.go b/business/model/order.go index 888555a36..78a4f508e 100644 --- a/business/model/order.go +++ b/business/model/order.go @@ -154,7 +154,7 @@ type OrderSku struct { SkuType int `json:"skuType"` // 当前如果为gift就为1,否则缺省为0 PromotionType int `json:"promotionType"` // todo 当前是用于记录京东的PromotionType(生成jxorder用),没有做转换 OrderCreatedAt time.Time `orm:"type(datetime);index" json:"-"` // 分区考虑 - IsVendorAct bool `json:"-"` //用于区分是否在平台上有活动,且需要按新规则填结算价 + IsVendorAct bool `orm:"-" json:"-"` //用于区分是否在平台上有活动,且需要按新规则填结算价 } // 同样商品在一个订单中可能重复出现(比如搞活动时,相同商品价格不一样,第一个有优惠)