新增根据网关账号获取门店信息

This commit is contained in:
chy
2025-07-08 19:25:20 +08:00
parent afa6b8bcd1
commit e3ee281c7f
9 changed files with 57 additions and 1 deletions

View File

@ -40,6 +40,9 @@ func init() {
enforcer.AddGroupingPolicy(consts.AdminRoleCode, consts.MerchantRoleCode) // 管理员继承商户角色权限
// 游客
{
// 根据网关账号获取门店信息
enforcer.AddPolicy("guest", "/x/store/getStoreInfoByNetbar", "GET", "根据网关账号获取门店信息")
// 任务
enforcer.AddPolicy("guest", "/x/task/ranking", "GET", "获取排行榜")
enforcer.AddPolicy("guest", "/x/task/getNonLoginTaskList", "GET", "未登录获取任务列表")