sms_tool
This commit is contained in:
18
sms_tool/sms_model.go
Normal file
18
sms_tool/sms_model.go
Normal file
@@ -0,0 +1,18 @@
|
||||
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频率限制值
|
||||
)
|
Reference in New Issue
Block a user