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