This commit is contained in:
苏尹岚
2021-02-19 11:58:43 +08:00
parent a2c7eecdca
commit ea374f228a

View File

@@ -367,6 +367,9 @@ func GetUserStoresResultMap(userID string) (resultMap map[int]int, err error) {
if v.CityCodes != "0" && v.CityCodes != "" {
cityCodes = append(cityCodes, jxutils.StrListToIntList(strings.Split(v.CityCodes, ","))...)
}
if v.CityCodes == "" {
continue
}
if v.StoreIDs != "" {
storeIDs = append(storeIDs, jxutils.StrListToIntList(strings.Split(v.StoreIDs, ","))...)
}