mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-14 13:13:51 +08:00
This commit is contained in:
27
server/api/api/pay/notify.go
Normal file
27
server/api/api/pay/notify.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package pay
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"hotgo/internal/model/input/payin"
|
||||
)
|
||||
|
||||
// NotifyAliPayReq 支付宝回调
|
||||
type NotifyAliPayReq struct {
|
||||
g.Meta `path:"/pay/notify/alipay" method:"post" tags:"支付异步通知" summary:"支付宝回调"`
|
||||
}
|
||||
|
||||
type NotifyAliPayRes payin.PayNotifyModel
|
||||
|
||||
// NotifyWxPayReq 微信支付回调
|
||||
type NotifyWxPayReq struct {
|
||||
g.Meta `path:"/pay/notify/wxpay" method:"post" tags:"支付异步通知" summary:"微信支付回调"`
|
||||
}
|
||||
|
||||
type NotifyWxPayRes payin.PayNotifyModel
|
||||
|
||||
// NotifyQQPayReq QQ支付回调
|
||||
type NotifyQQPayReq struct {
|
||||
g.Meta `path:"/pay/notify/qqpay" method:"post" tags:"支付异步通知" summary:"QQ支付回调"`
|
||||
}
|
||||
|
||||
type NotifyQQPayRes payin.PayNotifyModel
|
||||
Reference in New Issue
Block a user