From e4485cb48164d15b4c3181093c70b2b81460b360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 3 Jan 2025 09:55:24 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/system_store_sku.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index 3e82e3522..d751386fe 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -296,7 +296,6 @@ func BatchInitSkuMT2MT(ctx *jxcontext.Context, fromSku []*mtwmapi.AppFood, toApi skus := make([]interface{}, 0) upc := "" - foodData["available_times"] = "" for _, v := range storeSku.SkuList { if v.Stock == "" { v.Stock = "99999" @@ -323,8 +322,6 @@ func BatchInitSkuMT2MT(ctx *jxcontext.Context, fromSku []*mtwmapi.AppFood, toApi } delete(mapSkuList, "min_order_count") if v.AvailableTimes != nil { - availableTimes, _ := json.Marshal(mapSkuList["available_times"]) - foodData["available_times"] = string(availableTimes) delete(mapSkuList, "available_times") } if v.Upc != "" {