Commit 591a23ff by xuzhenhao

增加了检查用户登录信息的接口

1 parent bbbdfe36
Showing with 1 additions and 1 deletions
...@@ -16,6 +16,6 @@ func initRouter() *gin.Engine { ...@@ -16,6 +16,6 @@ func initRouter() *gin.Engine {
router.POST("user/register", UserRegisterApi) router.POST("user/register", UserRegisterApi)
router.POST("user/checkusername", CheckUserNameRepeatApi) router.POST("user/checkusername", CheckUserNameRepeatApi)
router.POST("user/changepassword", ChangeUserPasswordApi) router.POST("user/changepassword", ChangeUserPasswordApi)
router.GET("/checkloginstate", CheckUserLoginStateApi) router.GET("user/checkloginstate", CheckUserLoginStateApi)
return router return router
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!