diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index 4378a51be..d1d8ad8e3 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -4,8 +4,6 @@ import ( "fmt" "time" - "git.rosy.net.cn/jx-callback/globals" - "git.rosy.net.cn/baseapi/platformapi/mtwmapi" "git.rosy.net.cn/baseapi/utils" "git.rosy.net.cn/jx-callback/business/jxutils/jxcontext" @@ -128,7 +126,6 @@ func BatchInitData(ctx *jxcontext.Context, fromSku []*mtwmapi.AppFood, toApi *mt foodData["name"] = utils.LimitUTF8StringLen(storeSku.Name, mtwmapi.MaxSkuNameCharCount) foodData["description"] = storeSku.Description foodData["price"] = storeSku.Price - globals.SugarLogger.Debugf("BatchInitData testststts storeSku.Price=%f", storeSku.Price) if storeSku.MinOrderCount != 0 { foodData["min_order_count"] = storeSku.MinOrderCount } else { diff --git a/business/partner/purchase/mtwm/store_sku2.go b/business/partner/purchase/mtwm/store_sku2.go index fc3128f93..21f3a4bcc 100644 --- a/business/partner/purchase/mtwm/store_sku2.go +++ b/business/partner/purchase/mtwm/store_sku2.go @@ -516,7 +516,6 @@ func SwitchAttr(apiObj *mtwmapi.API, vendorStoreID string, vendorCatID int64, na } //根据类目id获取类目属性列表 if attrList, err := apiObj.CategoryAttrList(tempCatID); err == nil && len(attrList) > 0 { - globals.SugarLogger.Debugf("SwitchAttr attrList==================%s", utils.Format4Output(attrList, false)) for _, v := range attrList { if v.Need == mtwmapi.NeedYes { attrValue = CommonAttrValue{ @@ -538,13 +537,11 @@ func SwitchAttr(apiObj *mtwmapi.API, vendorStoreID string, vendorCatID int64, na }} } } - globals.SugarLogger.Debugf("1 attrValue==================%s", utils.Format4Output(attrValue, false)) attrValues = append(attrValues, attrValue) } } temp, _ := json.Marshal(attrValues) attrs = string(temp) - globals.SugarLogger.Debugf("SwitchAttr attrValues=%s", utils.Format4Output(attrValues, false)) } else { switch vendorCatID { //兜底处理 case 200002727: