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)
|
storeIDs2 = append(storeIDs2, -1)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if params["storeID"] != nil {
|
if params["storeID"] != nil && len(storeIDsMap) > 0 {
|
||||||
if storeIDsMap[int(utils.Interface2Int64WithDefault(params["storeID"], 0))] == 0 {
|
if storeIDsMap[int(utils.Interface2Int64WithDefault(params["storeID"], 0))] == 0 {
|
||||||
params["storeID"] = nil
|
params["storeID"] = nil
|
||||||
}
|
}
|
||||||
@@ -536,7 +536,8 @@ func GetStores(ctx *jxcontext.Context, keyword string, params map[string]interfa
|
|||||||
storeIDs2 = append(storeIDs2, k)
|
storeIDs2 = append(storeIDs2, k)
|
||||||
}
|
}
|
||||||
} else {
|
} 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