sms_sendResult_request

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2022 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmsSendResultParam

type SmsSendResultParam struct {
	// 开始时间-时间戳,单位秒
	FromTime int64 `json:"from_time"`
	// 结束时间-时间戳,单位秒
	ToTime int64 `json:"to_time"`
	// 短信发送渠道,主要做资源隔离
	SmsAccount string `json:"sms_account"`
	// 模版id
	TemplateId string `json:"template_id"`
	// 发送状态: 未回执:1 发送失败:2 发送成功:3
	Status int64 `json:"status"`
	// 查询结果大小,默认是10
	Size int64 `json:"size"`
	// 查询结果页数,从0开始,默认是0
	Page int64 `json:"page"`
	// 签名内容
	Sign string `json:"sign"`
	// 既支持明文,又支持密文
	PostTel string `json:"post_tel"`
	// 消息的唯一标识,可以用于查询短信到达等
	MessageId string `json:"message_id"`
}

type SmsSendResultRequest

type SmsSendResultRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *SmsSendResultParam
}

func New

func New() *SmsSendResultRequest

func (*SmsSendResultRequest) Execute

func (c *SmsSendResultRequest) Execute(accessToken *doudian_sdk.AccessToken) (*sms_sendResult_response.SmsSendResultResponse, error)

func (*SmsSendResultRequest) GetParamObject

func (c *SmsSendResultRequest) GetParamObject() interface{}

func (*SmsSendResultRequest) GetParams

func (c *SmsSendResultRequest) GetParams() *SmsSendResultParam

func (*SmsSendResultRequest) GetUrlPath

func (c *SmsSendResultRequest) GetUrlPath() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL