19 lines
987 B
Go
19 lines
987 B
Go
package sms_tool
|
|
|
|
type SendSmsParams struct {
|
|
OutId string `json:"OutId,omitempty" xml:"OutId,omitempty"`
|
|
OwnerId int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
|
|
PhoneNumbers string `json:"PhoneNumbers,omitempty" xml:"PhoneNumbers,omitempty"`
|
|
ResourceOwnerAccount string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
|
|
ResourceOwnerId int64 `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
|
|
SignName string `json:"SignName,omitempty" xml:"SignName,omitempty"`
|
|
SmsUpExtendCode string `json:"SmsUpExtendCode,omitempty" xml:"SmsUpExtendCode,omitempty"`
|
|
TemplateCode string `json:"TemplateCode,omitempty" xml:"TemplateCode,omitempty"`
|
|
TemplateParam string `json:"TemplateParam,omitempty" xml:"TemplateParam,omitempty"`
|
|
}
|
|
|
|
const (
|
|
CodeFrequencyKey = "%s_frequency" // code频率限制key
|
|
CodeFrequencyValue = "1" // code频率限制值
|
|
)
|