chore: 权限问题 debug

This commit is contained in:
fuzhongyun 2026-01-04 17:12:19 +08:00
parent 8271e7941d
commit bfbaee2028
1 changed files with 1 additions and 0 deletions

View File

@ -349,6 +349,7 @@ func (d *Do) LoadUserPermission(client *gateway.Client, requireData *entitys.Req
// 检查响应状态码
if res.StatusCode != http.StatusOK {
fmt.Errorf("获取用户权限失败,状态码:%d %s %+V", res.StatusCode, res.Text, request)
err = errors.SysErrf("获取用户权限失败")
return
}