chore: 并入 iotlcm-openapi 历史到 openapi/(原提交 3b05d5a)
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
package model
|
||||
|
||||
type AlipayConfig struct {
|
||||
AppId string `json:"appId" yaml:"appId"`
|
||||
PrivateKey string `json:"privateKey" yaml:"privateKey"`
|
||||
AlipayPublicKey string `json:"alipayPublicKey" yaml:"alipayPublicKey"`
|
||||
NotifyUrl string `json:"notifyUrl" yaml:"notifyUrl"`
|
||||
ReturnUrl string `json:"returnUrl" yaml:"returnUrl"`
|
||||
IsProduction bool `json:"isProduction" yaml:"isProduction"`
|
||||
}
|
||||
|
||||
type AlipayPayInput struct {
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
Subject string `json:"subject" dc:"订单标题" v:"required#订单标题不能为空"`
|
||||
TotalAmount string `json:"totalAmount" dc:"支付金额(元)" v:"required#支付金额不能为空"`
|
||||
PayType string `json:"payType" dc:"支付类型:page 电脑网站支付,wap 手机网站支付" d:"page"`
|
||||
}
|
||||
|
||||
type AlipayPayOutput struct {
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
PayUrl string `json:"payUrl" dc:"支付链接"`
|
||||
}
|
||||
|
||||
type AlipayNotifyInput struct{}
|
||||
|
||||
type AlipayNotifyOutput struct{}
|
||||
|
||||
type AlipayReturnInput struct{}
|
||||
|
||||
type AlipayReturnOutput struct {
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
TradeNo string `json:"tradeNo" dc:"支付宝交易号"`
|
||||
TotalAmount string `json:"totalAmount" dc:"交易金额"`
|
||||
Message string `json:"message" dc:"消息"`
|
||||
}
|
||||
|
||||
type AlipayTradeQueryInput struct {
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
TradeNo string `json:"tradeNo" dc:"支付宝交易号"`
|
||||
}
|
||||
|
||||
type AlipayTradeQueryOutput struct {
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
TradeNo string `json:"tradeNo" dc:"支付宝交易号"`
|
||||
TradeStatus string `json:"tradeStatus" dc:"交易状态"`
|
||||
TotalAmount string `json:"totalAmount" dc:"交易金额"`
|
||||
BuyerLogonId string `json:"buyerLogonId" dc:"买家支付宝账号"`
|
||||
BuyerUserId string `json:"buyerUserId" dc:"买家支付宝用户ID"`
|
||||
BuyerOpenId string `json:"buyerOpenId" dc:"买家支付宝OpenID"`
|
||||
SendPayDate string `json:"sendPayDate" dc:"交易付款时间"`
|
||||
}
|
||||
|
||||
type AlipayRefundInput struct {
|
||||
OutRequestNo string `json:"outRequestNo" dc:"退款请求号" v:"required#退款请求号不能为空"`
|
||||
RefundReason string `json:"refundReason" dc:"退款原因"`
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
TradeNo string `json:"tradeNo" dc:"支付宝交易号"`
|
||||
RefundAmount string `json:"refundAmount" dc:"退款金额(元)" v:"required#退款金额不能为空"`
|
||||
}
|
||||
|
||||
type AlipayRefundOutput struct {
|
||||
OutRequestNo string `json:"outRequestNo" dc:"退款请求号"`
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
TradeNo string `json:"tradeNo" dc:"支付宝交易号"`
|
||||
BuyerLogonId string `json:"buyerLogonId" dc:"买家支付宝账号"`
|
||||
RefundAmount string `json:"refundAmount" dc:"退款金额(元)"`
|
||||
}
|
||||
Reference in New Issue
Block a user