This commit is contained in:
邹宗楠
2022-03-30 10:39:05 +08:00
parent 523fffef55
commit 907b265ba7
2 changed files with 2 additions and 1 deletions

View File

@@ -736,7 +736,6 @@ func getGetStoresSkusBaseSQL(db *dao.DaoDB, storeIDs, skuIDs []int, upcs []strin
func GetStoresSkus(ctx *jxcontext.Context, storeIDs, skuIDs []int, upcs []string, isFocus, isHighPrice bool, priceType int, keyword string, isBySku, isAct bool, params map[string]interface{}, offset, pageSize int) (skuNamesInfo *dao.StoreSkuNamesInfo, err error) {
//权限 管理员/未登录人员不进入,商城不进入
fmt.Println("111111111111111111", permission.IsRoled(ctx))
if permission.IsRoled(ctx) {
if storeIDsMap, err := permission.GetUserStoresResultMap(ctx.GetUserID()); err == nil {
var storeIDs2 []int