Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sdk ¶
func (*Sdk) GetSendStatus ¶
func (app *Sdk) GetSendStatus(phone string, sendResp *dysmsapi.SendSmsResponse) error
GetSendStatus 查询短信发送结果 @phone 手机号码 @sendResp 发送短信响应
type Template ¶
type Template struct { AuditStatus *string `json:"auditStatus,omitempty" xml:"AuditStatus,omitempty"` CreateDate *string `json:"createDate,omitempty" xml:"CreateDate,omitempty"` OrderId *string `json:"orderId,omitempty" xml:"OrderId,omitempty"` Reason *dysmsapi.QuerySmsTemplateListResponseBodySmsTemplateListReason `json:"reason,omitempty" xml:"Reason,omitempty" type:"Struct"` TemplateCode *string `json:"templateCode,omitempty" xml:"TemplateCode,omitempty"` TemplateContent *string `json:"templateContent,omitempty" xml:"TemplateContent,omitempty"` TemplateName *string `json:"templateName,omitempty" xml:"TemplateName,omitempty"` TemplateType *int32 `json:"templateType"` }
type TemplateSdk ¶
func (*TemplateSdk) AddTemplate ¶
func (app *TemplateSdk) AddTemplate(addTemplate *Template) error
func (*TemplateSdk) DeleteTemplate ¶
func (app *TemplateSdk) DeleteTemplate(templateCode string) error
func (*TemplateSdk) GetTemplateList ¶
func (app *TemplateSdk) GetTemplateList(list *[]Template) error
Click to show internal directories.
Click to hide internal directories.