This commit is contained in:
eson
2023-06-26 18:19:51 +08:00
parent 0afaed5089
commit d74d27ab2d
15 changed files with 377 additions and 12 deletions

View File

@@ -20,7 +20,7 @@ func {{.HandlerName}}(svcCtx *svc.ServiceContext) http.HandlerFunc {
//
err error
//
userinfo *auth.UserInfo
userinfo *auth.BackendUserInfo
)
// JWT token,
claims, err := svcCtx.ParseJwtToken(r)