From bfbaee2028a7f888c7d5b79b85cb46e8c68be2b4 Mon Sep 17 00:00:00 2001 From: fuzhongyun <15339891972@163.com> Date: Sun, 4 Jan 2026 17:12:19 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/biz/do/ctx.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/biz/do/ctx.go b/internal/biz/do/ctx.go index 5d9ba72..d974381 100644 --- a/internal/biz/do/ctx.go +++ b/internal/biz/do/ctx.go @@ -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 }