初始化
This commit is contained in:
11
api/payment/v1/payment.go
Normal file
11
api/payment/v1/payment.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package v1
|
||||
|
||||
import "github.com/gogf/gf/v2/frame/g"
|
||||
|
||||
// NotifyReq 是支付渠道回调请求。
|
||||
type NotifyReq struct {
|
||||
g.Meta `path:"/api/payments/notify/{channel}" tags:"支付" method:"post" summary:"接收支付渠道回调"`
|
||||
Channel string `json:"channel" in:"path" dc:"支付渠道"`
|
||||
}
|
||||
|
||||
type NotifyRes struct{}
|
||||
Reference in New Issue
Block a user