Documentation ¶
Overview ¶
短信发送模块,调用阿里云的短信服务 依旧有安全问题
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 Register ¶
func Register()
func SendSMS ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.