yuleduiPay/controller/ysePay.go

18 lines
346 B
Go

package controller
import (
"yuleduiPay/service"
"github.com/gogf/gf/v2/net/ghttp"
)
// 银盛路由控制类
type YsePay struct {
ysePayService service.YsePay //服务类
}
// 银盛异步通知余乐兑支付结果接口
func (t *YsePay) RouterGroup(group *ghttp.RouterGroup) {
group.POST("/notifyWxPay", t.ysePayService.NotifyWxPay)
}