This commit is contained in:
邹宗楠
2023-07-03 10:17:54 +08:00
parent f6957e76b6
commit 31eebdab2d

View File

@@ -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