gomod引用

This commit is contained in:
2026-03-12 08:51:13 +08:00
parent e168325ee2
commit 8830091e7d
+4 -1
View File
@@ -71,7 +71,10 @@ func GetUserInfo(ctx context.Context) (user do.User, err error) {
Address: redisAddr,
Db: 1,
}))
r := g.RequestFromCtx(ctx)
if r == nil {
return
}
// 解析 token
data, err := gft.ParseToken(g.RequestFromCtx(ctx))
if err != nil {