yuleduiPay/controller/pay.go

18 lines
297 B
Go
Raw Normal View History

2024-11-05 08:32:10 +08:00
package controller
import (
"yuleduiPay/service"
"github.com/gogf/gf/v2/net/ghttp"
)
// 路由控制类
type Pay struct {
payService service.Pay //服务类
}
2024-11-08 15:19:11 +08:00
// 扫码,支付接口
2024-11-05 08:32:10 +08:00
func (t *Pay) RouterGroup(group *ghttp.RouterGroup) {
group.POST("/payQrCode", t.payService.PayQrCode)
}