Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
package model
// ArgMid is rpc mid params.
type ArgMid struct {
Mid int64
RealIP string
}
// ArgSend send sms
type ArgSend struct {
Mid int64
RealIP string
Mobile string
Country string
Tcode string
Tparam string
}
// ArgSendBatch send batch
type ArgSendBatch struct {
Mids []int64
RealIP string
Mobiles []string
Tcode string
Tparam string
}
// ArgUserActionLog add user action log
type ArgUserActionLog struct {
MsgID string // 发送短信时服务商返回的随机ID
Mobile string
Content string // 短信内容
Status string // 回执状态
Desc string // 回执状态描述
Provider int // 短信服务商ID
Type int // 短信类型,验证码/国际/营销
Action int // 操作类型,发送或回执
Ts int64 // 操作时间
}