Commit 96302efd by mushishixian

立创需求

parent 9aa0e50d
Showing with 5 additions and 1 deletions
......@@ -77,7 +77,7 @@ type PriceActivity struct {
type GiftActivity struct {
ActivityCommon
CanAdminOrder interface{} `json:"can_admin_order"`
CanAdminOrder interface{} `json:"can_admin_order"`
ItemList []ActivityItem `json:"items,omitempty"`
}
......@@ -117,6 +117,10 @@ func InitSkuData(sku string) (data LySku) {
encoded := gjson.Get(sku, "encoded").String()
data.Encoded = encoded
//加上紧急判断,如果是立创(L0001175)的商品,就修改内部编码
if data.Canal == "L0001175" {
data.Encoded = "10142-L"
}
batchSn := gjson.Get(sku, "batch_sn").String()
data.BatchSn = batchSn
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment