com.snow.auto_monitor/app/http/entities/zhiliansys/zhiliansys.go

32 lines
1.1 KiB
Go
Raw Normal View History

2024-07-12 18:11:21 +08:00
package merchant
type GetByOutTradeNoReq struct {
OutTradeNo string `json:"out_trade_no" validate:"required"`
MerchantId int64 `json:"merchant_id" validate:"required"`
TimeStamp int64 `json:"time_stamp" validate:"required"`
Sign string `json:"sign" validate:"required"`
}
type GetByOutTradeNoResp struct {
Status int64 `json:"status"`
OutTradeNo string `json:"out_trade_no"`
}
type CreateOrderReq struct {
OutTradeNo string `json:"out_trade_no" validate:"required"`
ProductId int64 `json:"product_id" validate:"required"`
RechargeAccount string `json:"recharge_account" validate:"required"`
2024-07-29 16:36:41 +08:00
AccountType *int64 `json:"account_type" validate:"required"`
2024-07-12 18:11:21 +08:00
Number int64 `json:"number" validate:"required"`
2024-07-17 17:17:13 +08:00
NotifyUrl string `json:"notify_url"`
ExtendParameter string `json:"extend_parameter"`
2024-07-12 18:11:21 +08:00
MerchantId int64 `json:"merchant_id" validate:"required"`
TimeStamp int64 `json:"time_stamp" validate:"required"`
Sign string `json:"sign" validate:"required"`
}
type CreateOrderResp struct {
OutTradeNo string `json:"out_trade_no"`
}