Versions in this module Expand all Collapse all v1 v1.0.2 Oct 14, 2024 v1.0.1 Sep 29, 2024 Changes in this version + func AliClient(config *model.SMSConfig) (_result *dysmsapi.Client, err error) + type Sdk struct + Config *model.SMSConfig + func (app *Sdk) GetSendStatus(phone string, sendResp *dysmsapi.SendSmsResponse) error + func (app *Sdk) SendSms(phone string, code string, data string) error + type Template struct + AuditStatus *string + CreateDate *string + OrderId *string + Reason *dysmsapi.QuerySmsTemplateListResponseBodySmsTemplateListReason + TemplateCode *string + TemplateContent *string + TemplateName *string + TemplateType *int32 + type TemplateSdk struct + Config *model.SMSConfig + func (app *TemplateSdk) AddTemplate(addTemplate *Template) error + func (app *TemplateSdk) DeleteTemplate(templateCode string) error + func (app *TemplateSdk) GetTemplateList(list *[]Template) error