This commit is contained in:
邹宗楠
2024-07-11 14:29:58 +08:00
parent ce9afcad0b
commit 6e154832d4

View File

@@ -832,7 +832,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) {
foodMap := make(map[string]string, len(foodList))
successMap = make(map[string]string)
if len(foodList) > 0 {
if foodList != nil && len(foodList) > 0 {
for _, v := range foodList {
if v.ProductID != "" {
successMap[v.SkuID] = v.ProductID