mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-11 11:43:46 +08:00
发布v2.15.1版本,更新内容请查看:https://github.com/bufanyun/hotgo/blob/v2.0/docs/guide-zh-CN/start-update-log.md
This commit is contained in:
@@ -11,7 +11,6 @@ import (
|
||||
"hotgo/internal/consts"
|
||||
"hotgo/internal/controller/api/member"
|
||||
"hotgo/internal/controller/api/pay"
|
||||
"hotgo/internal/controller/api/user"
|
||||
"hotgo/internal/service"
|
||||
"hotgo/utility/simple"
|
||||
)
|
||||
@@ -20,7 +19,6 @@ import (
|
||||
func Api(ctx context.Context, group *ghttp.RouterGroup) {
|
||||
group.Group(simple.RouterPrefix(ctx, consts.AppApi), func(group *ghttp.RouterGroup) {
|
||||
group.Bind(
|
||||
user.Hello,
|
||||
pay.Notify, // 支付异步通知
|
||||
)
|
||||
group.Middleware(service.Middleware().ApiAuth)
|
||||
|
||||
Reference in New Issue
Block a user