Documentation
¶
Index ¶
- Variables
- func AddUserInfo(ctx iris.Context)
- func GetUserInfo(ctx iris.Context)
- func GetVerificationCode(ctx iris.Context)
- func Login(ctx iris.Context)
- func Logout(ctx iris.Context)
- func RegisterUser(ctx iris.Context)
- func UpdatePassword(ctx iris.Context)
- func UpdateToken(ctx iris.Context)
- func UpdateUserInfo(ctx iris.Context)
- func VerifyLogin(ctx iris.Context)
- type GetVerificationCodeReq
- type JwtClaims
- type LoginResponseInfo
- type LogoutReq
- type ResponseContent
- type UpdateTokenReq
- type UserRegistrationOrLoginReq
- type VerifyLoginReq
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ExpireTime = 3600000 //token有效期 //TODO //SignName = "你我" SignName = "ABC商城" )
Functions ¶
func AddUserInfo ¶
func AddUserInfo(ctx iris.Context)
func GetUserInfo ¶
func GetUserInfo(ctx iris.Context)
func GetVerificationCode ¶
func GetVerificationCode(ctx iris.Context)
func RegisterUser ¶
func RegisterUser(ctx iris.Context)
func UpdatePassword ¶
func UpdatePassword(ctx iris.Context)
func UpdateUserInfo ¶
func UpdateUserInfo(ctx iris.Context)
Types ¶
type GetVerificationCodeReq ¶
type GetVerificationCodeReq struct {
PhoneNumber string `json:"phoneNumber"`
}
type LoginResponseInfo ¶
type ResponseContent ¶
type UpdateTokenReq ¶
type VerifyLoginReq ¶
Click to show internal directories.
Click to hide internal directories.