yuleduiPay/controller/pay.go

18 lines
306 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-05 17:34:58 +08:00
// 微信小程序,支付接口
2024-11-05 08:32:10 +08:00
func (t *Pay) RouterGroup(group *ghttp.RouterGroup) {
group.POST("/payQrCode", t.payService.PayQrCode)
}