Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSmsSendDetail ¶
func GetSmsSendDetail(mobile string, bizId string, pageIndex int) ([]dysmsapi.SmsSendDetailDTO, error)
GetSmsSendDetail 获取短信发送明细
Types ¶
type BaseSmsData ¶
func NewSmsData ¶
func NewSmsData(signName, templateCode string, content interface{}) *BaseSmsData
NewSmsData 创建sms数据
type SmsResponseData ¶
type SmsResponseData struct { Message string `json:"message"` RequestId string `json:"requestId"` Code string `json:"code"` BizId string `json:"bizId"` }
func SmsSend ¶
func SmsSend(mobile string, smsData *BaseSmsData, outId ...string) (*SmsResponseData, error)
SmsSend 发送短信
type VCodeSmsContent ¶
VCodeSmsContent 注册验证短信参数体
func NewVCodeSmsContent ¶
func NewVCodeSmsContent(product, code string) *VCodeSmsContent
NewVCodeSmsContent 创建注册验证短信
Click to show internal directories.
Click to hide internal directories.