gomod引用
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user