mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-11 03:33:53 +08:00
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
// @Copyright Copyright (c) 2023 HotGo CLI
|
||||
// @Author Ms <133814250@qq.com>
|
||||
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
|
||||
//
|
||||
package router
|
||||
|
||||
import (
|
||||
@@ -11,6 +10,7 @@ import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/net/ghttp"
|
||||
"hotgo/internal/controller/api/member"
|
||||
"hotgo/internal/controller/api/pay"
|
||||
"hotgo/internal/controller/api/user"
|
||||
"hotgo/internal/service"
|
||||
)
|
||||
@@ -21,6 +21,7 @@ func Api(ctx context.Context, group *ghttp.RouterGroup) {
|
||||
group.Group(prefix.String(), func(group *ghttp.RouterGroup) {
|
||||
group.Bind(
|
||||
user.Hello,
|
||||
pay.Notify, // 支付异步通知
|
||||
)
|
||||
group.Middleware(service.Middleware().ApiAuth)
|
||||
group.Bind(
|
||||
|
||||
Reference in New Issue
Block a user