diff --git a/business/partner/purchase/tao_vegetable/store_sku2.go b/business/partner/purchase/tao_vegetable/store_sku2.go index f1ac07499..c1f063ff8 100644 --- a/business/partner/purchase/tao_vegetable/store_sku2.go +++ b/business/partner/purchase/tao_vegetable/store_sku2.go @@ -691,7 +691,7 @@ func (p *PurchaseHandler) GetSensitiveWordRegexp() *regexp.Regexp { // SelectStoreSkuListByFoodList 淘宝批量返回 func SelectStoreSkuListByFoodList(storeSkuList interface{}, foodList []tao_vegetable.VegetableResultList, storeID int, vendorName, syncType string) (selectedStoreSkuList []*partner.StoreSkuInfoWithErr, successMap map[string]string) { - foodMap := make(map[string]string) + foodMap := make(map[string]string, len(foodList)) if len(foodList) > 0 { for _, v := range foodList { if v.ProductID == "" {