添加文件: xy_sh/internal/entities/request.go
This commit is contained in:
parent
d41f7c30c7
commit
ffb0bbf1f1
|
|
@ -0,0 +1,15 @@
|
||||||
|
package entities
|
||||||
|
|
||||||
|
// EncryptedRequest 通用加密请求体
|
||||||
|
type EncryptedRequest struct {
|
||||||
|
EncryptedData string `json:"encryptedData"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// OrderCreateRequest 卡券/直充权益下单业务参数(解密后)
|
||||||
|
type OrderCreateRequest struct {
|
||||||
|
ActCode string `json:"actCode"` // 活动code
|
||||||
|
GoodsCode string `json:"goodsCode"` // 供应商商品编号
|
||||||
|
ActOrderNum string `json:"actOrderNum"` // 活动方订单号
|
||||||
|
Account string `json:"account,omitempty"` // 充值账号
|
||||||
|
CallbackURL string `json:"callbackUrl,omitempty"` // 回调地址
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue