refactor: user pb update

This commit is contained in:
Gordon
2023-07-03 17:02:31 +08:00
parent 0642f97e12
commit 2095e0839d
3 changed files with 275 additions and 267 deletions
-1
View File
@@ -96,7 +96,6 @@ func NewGinRouter(discov discoveryregistry.SvcDiscoveryRegistry, rdb redis.Unive
authRouterGroup := r.Group("/auth")
{
a := NewAuthApi(discov)
authRouterGroup.POST("/user_register", u.UserRegister)
authRouterGroup.POST("/user_token", a.UserToken)
authRouterGroup.POST("/parse_token", a.ParseToken)
authRouterGroup.POST("/force_logout", ParseToken, a.ForceLogout)