2024-09-14 10:48:09 +08:00
|
|
|
package request
|
|
|
|
|
|
|
|
type PrepayReq struct {
|
|
|
|
ProductName string `json:"product_name" binding:"required"`
|
|
|
|
Platform string `json:"platform" binding:"required"`
|
2024-12-25 11:59:33 +08:00
|
|
|
Promotion string `json:"promotion"`
|
2024-09-14 10:48:09 +08:00
|
|
|
}
|
|
|
|
type RefundReq struct {
|
|
|
|
ProductName string `json:"product_name" binding:"required"`
|
|
|
|
Platform string `json:"platform" binding:"required"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type H5PrepayReq struct {
|
|
|
|
QueryData string `json:"query_data" binding:"required"`
|
|
|
|
Href string `json:"href" binding:"required"`
|
|
|
|
ProductName string `json:"product_name" binding:"required"`
|
|
|
|
Platform string `json:"platform" binding:"required"`
|
|
|
|
}
|
|
|
|
type QueryDataReq struct {
|
|
|
|
OutTradeNo string `json:"out_trade_no" form:"out_trade_no" binding:"required"`
|
|
|
|
}
|