1
This commit is contained in:
@@ -526,7 +526,7 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa
|
||||
storeIDs2 = append(storeIDs2, -1)
|
||||
}
|
||||
} else {
|
||||
if params["storeID"] != nil {
|
||||
if params["storeID"] != nil && len(storeIDsMap) > 0 {
|
||||
if storeIDsMap[int(utils.Interface2Int64WithDefault(params["storeID"], 0))] == 0 {
|
||||
params["storeID"] = nil
|
||||
}
|
||||
@@ -536,7 +536,8 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa
|
||||
storeIDs2 = append(storeIDs2, k)
|
||||
}
|
||||
} else {
|
||||
storeIDs2 = append(storeIDs2, -1)
|
||||
//storeIDs2 = append(storeIDs2, -1)
|
||||
storeIDs2 = append(storeIDs2, int(utils.Interface2Int64WithDefault(params["storeID"], 0)))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user