aa
This commit is contained in:
@@ -361,15 +361,15 @@ func GetUserStoresResultMap(userID string) (resultMap map[int]int, err error) {
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
if v.CityCodes == "" && v.StoreIDs == "" {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if v.BrandID != 0 {
|
if v.BrandID != 0 {
|
||||||
brandIDs = append(brandIDs, v.BrandID)
|
brandIDs = append(brandIDs, v.BrandID)
|
||||||
}
|
}
|
||||||
if v.CityCodes != "0" && v.CityCodes != "" {
|
if v.CityCodes != "0" && v.CityCodes != "" {
|
||||||
cityCodes = append(cityCodes, jxutils.StrListToIntList(strings.Split(v.CityCodes, ","))...)
|
cityCodes = append(cityCodes, jxutils.StrListToIntList(strings.Split(v.CityCodes, ","))...)
|
||||||
}
|
}
|
||||||
if v.CityCodes == "" {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
if v.StoreIDs != "" {
|
if v.StoreIDs != "" {
|
||||||
storeIDs = append(storeIDs, jxutils.StrListToIntList(strings.Split(v.StoreIDs, ","))...)
|
storeIDs = append(storeIDs, jxutils.StrListToIntList(strings.Split(v.StoreIDs, ","))...)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user