diff --git a/business/partner/purchase/tao_vegetable/store_sku2.go b/business/partner/purchase/tao_vegetable/store_sku2.go index 46b3f7aff..5408345f7 100644 --- a/business/partner/purchase/tao_vegetable/store_sku2.go +++ b/business/partner/purchase/tao_vegetable/store_sku2.go @@ -698,6 +698,7 @@ func (p *PurchaseHandler) GetSensitiveWordRegexp() *regexp.Regexp { func SelectStoreSkuListByFoodList(storeSkuList interface{}, foodList []tao_vegetable.VegetableResultList, storeID int, vendorName, syncType string) (selectedStoreSkuList []*partner.StoreSkuInfoWithErr, successMap map[string]string) { globals.SugarLogger.Debugf("=======foodList := %s", utils.Format4Output(foodList, false)) foodMap := make(map[string]string, len(foodList)) + successMap = make(map[string]string) if len(foodList) > 0 { for _, v := range foodList { foodMap[v.SkuID] = v.ErrMsg