28 lines
782 B
Go
28 lines
782 B
Go
package kog
|
||
|
||
// CmbToBBRequest 招行请求蓝色兄弟发券接口数据同步Api
|
||
type CmbToBBRequest struct {
|
||
// 唯一流水号
|
||
TransactionId string `json:"transactionId"`
|
||
// 外部合作方权益批次号
|
||
ActivityId string `json:"activityId"`
|
||
// 招商银行用户号 用户标识,比如手机号、支付宝openId
|
||
CmbUid string `json:"cmbUid"`
|
||
// 用户标识类型,0-手机号,1-支付宝openId
|
||
CmbUidType string `json:"cmbUidType"`
|
||
// 时间戳,长度为13位,精度为毫秒
|
||
Timestamp string `json:"timestamp"`
|
||
// appId
|
||
AppId string `json:"appId"`
|
||
// 补丁
|
||
Attach string `json:"attach"`
|
||
}
|
||
|
||
func (this *CmbToBBRequest) GetNotice() *Notice {
|
||
return &Notice{
|
||
OutBizBo: this.TransactionId,
|
||
Type: NoticeTypeCmbToBB,
|
||
BizContent: this,
|
||
}
|
||
}
|