Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { // Ctx 设置上下文 Ctx(ctx context.Context) // Config 短信服务平台配置 Config(config interface{}) error // Send 发送短信 Send(mobile []string, params models.SendSmsInput) (*models.SendSmsResponse, error) // Apply 申请短信模板-添加和修改 Apply(params models.AddSmsTemplateInput) (*models.AddSmsTemplateResponse, error) // Pull 查询拉取短信发送状态 Pull(params models.PullSendStatusInput) ([]*models.PullSendResultItem, error) // List 获取短信列表 List(params models.SmsTemplateListInput) (*models.SmsListResponse, error) }
Service 短信服务接口列表
Click to show internal directories.
Click to hide internal directories.