diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index fdfc34075..f87e4727c 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -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)