Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceSms = NewSmsService()
ServiceSms 短信服务 使用七牛云 直接初始化,可以避免在使用时再实例化
Functions ¶
This section is empty.
Types ¶
type ISmsService ¶ added in v1.0.3
type ISmsService interface { Send(phoneNumber string, verifyCode int) error // contains filtered or unexported methods }
ISmsService 短信服务接口定义
Click to show internal directories.
Click to hide internal directories.