From a25a23520a8809cba1ea10f03314e56063f20c0e 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:52:30 +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 | 1 + 1 file changed, 1 insertion(+) diff --git a/business/model/order.go b/business/model/order.go index 175171a9f..888555a36 100644 --- a/business/model/order.go +++ b/business/model/order.go @@ -154,6 +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:"-"` //用于区分是否在平台上有活动,且需要按新规则填结算价 } // 同样商品在一个订单中可能重复出现(比如搞活动时,相同商品价格不一样,第一个有优惠)