Documentation ¶
Index ¶
- type MysqlDriver
- func (*MysqlDriver) CreateTable(db *gorose.Engin) (err error)
- func (*MysqlDriver) GenerateSms(db *gorose.Engin, sms *adapter.Sms) (pkid int64, err error)
- func (*MysqlDriver) GetLatestSms(db *gorose.Engin, sms *adapter.Sms) (err error)
- func (*MysqlDriver) UpdateSmsSendResult(db *gorose.Engin, sms *adapter.Sms) (pkid int64, err error)
- func (*MysqlDriver) VerifySms(db *gorose.Engin, sms *adapter.Sms) (affected_rows int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlDriver ¶
type MysqlDriver struct{}
func NewMysqlDriver ¶
func NewMysqlDriver() *MysqlDriver
func (*MysqlDriver) CreateTable ¶
func (*MysqlDriver) CreateTable(db *gorose.Engin) (err error)
func (*MysqlDriver) GenerateSms ¶
GenerateSms 生成短信验证码入库
func (*MysqlDriver) GetLatestSms ¶
GetLatestSms 根据条件获取最新一条发送结果
func (*MysqlDriver) UpdateSmsSendResult ¶
UpdateSmsStatus 更新短信发送结果信息
Click to show internal directories.
Click to hide internal directories.