1
This commit is contained in:
@@ -163,7 +163,7 @@ func BatchInitData(ctx *jxcontext.Context, fromSku []*mtwmapi.AppFood, toApi *mt
|
||||
if storeSku.AppFoodCode != "" {
|
||||
foodData[mtwmapi.KeyAppFoodCode] = storeSku.AppFoodCode
|
||||
} else {
|
||||
foodData[mtwmapi.KeyAppFoodCode] = time.Now().Unix()
|
||||
foodData[mtwmapi.KeyAppFoodCode] = storeSku.Ctime
|
||||
}
|
||||
|
||||
skus := []map[string]interface{}{
|
||||
@@ -216,6 +216,7 @@ func BatchInitData(ctx *jxcontext.Context, fromSku []*mtwmapi.AppFood, toApi *mt
|
||||
}
|
||||
break
|
||||
}
|
||||
foodDataList[i] = foodData
|
||||
|
||||
////foodData["skus"] = storeSku.Skus
|
||||
//skusString, err := json.Marshal(skus2)
|
||||
|
||||
Reference in New Issue
Block a user