diff --git a/xy_sh/internal/entities/request.go b/xy_sh/internal/entities/request.go new file mode 100644 index 0000000..f89eff5 --- /dev/null +++ b/xy_sh/internal/entities/request.go @@ -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"` // 回调地址 +} \ No newline at end of file