53 lines
1.3 KiB
Go
53 lines
1.3 KiB
Go
package v1
|
|
|
|
import (
|
|
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
|
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
)
|
|
|
|
type AlipayPayReq struct {
|
|
g.Meta `path:"/alipay/pay" method:"get,post" tags:"支付宝支付" summary:"创建支付宝支付链接" x-check-permission:"cpc:current:user"`
|
|
model.AlipayPayInput
|
|
}
|
|
|
|
type AlipayPayRes struct {
|
|
model.AlipayPayOutput
|
|
}
|
|
|
|
type AlipayNotifyReq struct {
|
|
g.Meta `path:"/alipay/notify" method:"post" tags:"支付宝支付" summary:"支付宝异步通知"`
|
|
model.AlipayNotifyInput
|
|
}
|
|
|
|
type AlipayNotifyRes struct {
|
|
model.AlipayNotifyOutput
|
|
}
|
|
|
|
type AlipayReturnReq struct {
|
|
g.Meta `path:"/alipay/return" method:"get" tags:"支付宝支付" summary:"支付宝同步回跳"`
|
|
model.AlipayReturnInput
|
|
}
|
|
|
|
type AlipayReturnRes struct {
|
|
model.AlipayReturnOutput
|
|
}
|
|
|
|
type AlipayTradeQueryReq struct {
|
|
g.Meta `path:"/alipay/query" method:"get" tags:"支付宝支付" summary:"查询支付宝交易" x-check-permission:"cpc:current:user"`
|
|
model.AlipayTradeQueryInput
|
|
}
|
|
|
|
type AlipayTradeQueryRes struct {
|
|
model.AlipayTradeQueryOutput
|
|
}
|
|
|
|
type AlipayRefundReq struct {
|
|
g.Meta `path:"/alipay/refund" method:"post" tags:"支付宝支付" summary:"支付宝退款" x-check-permission:"cpc:current:user"`
|
|
model.AlipayRefundInput
|
|
}
|
|
|
|
type AlipayRefundRes struct {
|
|
model.AlipayRefundOutput
|
|
}
|