chore: 权限问题 debug
This commit is contained in:
parent
8271e7941d
commit
bfbaee2028
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue