Documentation ¶
Index ¶
- func CheckCacheCode(key string, phone string, code string) bool
- func CheckSessionCode(c *gin.Context, checkPhone string, checkCode string) error
- func DelCacheCode(key string, phone string)
- func SaveCacheCode(key string, phone string, code string)
- func SaveSessionCode(c *gin.Context, phone string, code string) error
- func SendAliSms(phone string, code string, config Config) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckSessionCode ¶
func DelCacheCode ¶ added in v1.0.5
func SaveCacheCode ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.