Documentation ¶
Index ¶
- func APIPOSTVerificationCode(c *gin.Context)
- func GetVerificationCode(phoneNumber string) (code string, err error)
- func Register()
- func SendSMS(phoneNumber string, sigName string, templateCode string, code string) error
- func SetVerificationCode(phoneNumber string, code string) (err error)
- type APIGETVerificationCodeForm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIPOSTVerificationCode ¶
func GetVerificationCode ¶
func SetVerificationCode ¶
SetVerificationCode 设置验证码 @since 0.0.10
Types ¶
type APIGETVerificationCodeForm ¶
type APIGETVerificationCodeForm struct {
PhoneNumber string `form:"phoneNumber" json:"phoneNumber" binding:"required"`
}
Click to show internal directories.
Click to hide internal directories.