修改权限判断

This commit is contained in:
邹宗楠
2022-04-12 20:33:16 +08:00
parent 708e069d4f
commit aa6fe33435
2 changed files with 12 additions and 1 deletions

View File

@@ -1255,6 +1255,12 @@ func GetUserStoreAuth(ctx *jxcontext.Context, storeID int) (outStoreID int, err
}
return storeID, nil
}
//storeMap, _ := permission.GetUserStoresResultMap(ctx.GetUserID())
//if storeMap[storeID] != 0 {
// return storeID, err
//} else {
// return 0, err
//}
}
return storeID, err
}