Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmsSendParam ¶
type SmsSendParam struct { // 短信发送渠道,主要做资源隔离 SmsAccount string `json:"sms_account"` // 签名 Sign string `json:"sign"` // 短信模版id TemplateId string `json:"template_id"` // 短信模板占位符要替换的值 TemplateParam string `json:"template_param"` // 透传字段,回执的时候原样返回给调用方,最大长度512字符 Tag *string `json:"tag"` // 既支持手机号明文,又支持手机号密文 PostTel string `json:"post_tel"` // 用户自定义扩展码,仅当允许自定义扩展码的时候生效 UserExtCode *string `json:"user_ext_code"` }
type SmsSendRequest ¶
type SmsSendRequest struct { doudian_sdk.BaseDoudianOpApiRequest Param *SmsSendParam }
func New ¶
func New() *SmsSendRequest
func (*SmsSendRequest) Execute ¶
func (c *SmsSendRequest) Execute(accessToken *doudian_sdk.AccessToken) (*sms_send_response.SmsSendResponse, error)
func (*SmsSendRequest) GetParamObject ¶
func (c *SmsSendRequest) GetParamObject() interface{}
func (*SmsSendRequest) GetParams ¶
func (c *SmsSendRequest) GetParams() *SmsSendParam
func (*SmsSendRequest) GetUrlPath ¶
func (c *SmsSendRequest) GetUrlPath() string
Click to show internal directories.
Click to hide internal directories.