印度包网
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.1 KiB

1 year ago
package routers
import (
"server/modules/web/handler"
"github.com/gin-gonic/gin"
)
func account(e *gin.RouterGroup) {
e.POST("/account/email/code", handler.GetEmailCode)
e.POST("/account/email/regist", handler.EmailRegist)
e.POST("/account/email/login", handler.EmailLogin)
e.POST("/account/email/resetPass", handler.EmailResetPass)
e.POST("/account/gpLogin", handler.GPLogin)
e.POST("/account/fbLogin", handler.FBLogin)
e.POST("/account/tokenLogin", handler.TokenLogin)
3 months ago
1 year ago
e.POST("/account/phoneCode/verify", handler.VerifyCode)
e.POST("/account/phoneCode/bind", handler.BindingAccount)
e.POST("/account/regist", handler.AccountRegist)
e.POST("/account/login", handler.AccountLogin)
e.POST("/account/resetPass", handler.AccountResetPass)
3 months ago
e.POST("/account/guestLogin", handler.GuestLogin)
e.POST("/account/phoneCode/get", handler.GetPhoneCode)
e.POST("/account/phoneCode/login", handler.PhoneCodeLogin)
e.POST("/account/phone/regist", handler.PhoneRegist)
e.POST("/account/phone/login", handler.PhoneLogin)
e.POST("/account/phone/resetPass", handler.PhoneResetPass)
1 year ago
}