add reset pwd

This commit is contained in:
wangchuxiao
2022-02-21 16:24:25 +08:00
parent a2cd7c8007
commit 4d28ccebad
10 changed files with 119 additions and 29 deletions
+1
View File
@@ -21,6 +21,7 @@ func main() {
authRouterGroup.POST("/verify", register.Verify)
authRouterGroup.POST("/password", register.SetPassword)
authRouterGroup.POST("/login", register.Login)
authRouterGroup.POST("/reset_password", register.ResetPassword)
}
log.NewPrivateLog("demo")
ginPort := flag.Int("port", 42233, "get ginServerPort from cmd,default 42233 as port")