scan the QR code to log in on the WeChat public account

This commit is contained in:
landaiqing
2024-08-15 23:56:46 +08:00
parent 55759a33db
commit e8fbff7e7f
28 changed files with 1095 additions and 432 deletions

View File

@@ -14,6 +14,8 @@ func UserRouter(router *gin.RouterGroup) {
{
userGroup.POST("/login", userApi.AccountLogin)
userGroup.POST("/phone_login", userApi.PhoneLogin)
userGroup.POST("/add", userApi.AddUser)
userGroup.POST("/reset_password", userApi.ResetPassword)
}
authGroup := router.Group("auth").Use(middleware.JWTAuthMiddleware())
{