Commit 96302efd by mushishixian

立创需求

parent 9aa0e50d
Showing with 4 additions and 0 deletions
......@@ -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