This commit is contained in:
suyl
2021-07-07 18:07:12 +08:00
parent 4453ed80f5
commit ecbded38dc
9 changed files with 180 additions and 76 deletions

View File

@@ -13,6 +13,9 @@ func Init(r *gin.Engine) {
user.GET("/getTokenInfo", controllers.GetTokenInfo)
user.GET("/logout", controllers.Logout)
user.GET("/updateUser", controllers.UpdateUser)
//app
app := v2.Group("/app")
app.GET("/getApps", controllers.GetApps)
//v1是不需要token的
v1 := r.Group("v1")