mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-09 10:43:47 +08:00
版本预发布
This commit is contained in:
@@ -40,7 +40,6 @@ func Admin(ctx context.Context, group *ghttp.RouterGroup) {
|
||||
sys.Cron, // 定时任务
|
||||
sys.CronGroup, // 定时任务分组
|
||||
sys.Blacklist, // 黑名单
|
||||
sys.GenCodes, // 生成代码
|
||||
sys.Log, // 访问日志
|
||||
sys.LoginLog, // 登录日志
|
||||
sys.ServeLog, // 服务日志
|
||||
@@ -54,6 +53,9 @@ func Admin(ctx context.Context, group *ghttp.RouterGroup) {
|
||||
admin.Post, // 岗位
|
||||
admin.Test, // 测试
|
||||
)
|
||||
|
||||
group.Middleware(service.Middleware().Develop)
|
||||
group.Bind(sys.GenCodes) // 生成代码
|
||||
})
|
||||
|
||||
// 注册生成路由
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
// @Copyright Copyright (c) 2023 HotGo CLI
|
||||
// @Author Ms <133814250@qq.com>
|
||||
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
|
||||
// @AutoGenerate Version 2.1.0
|
||||
// @AutoGenerate Date 2023-01-18 15:19:42
|
||||
// @AutoGenerate Version 2.1.2
|
||||
// @AutoGenerate Date 2023-02-08 17:47:32
|
||||
//
|
||||
package genrouter
|
||||
|
||||
|
||||
Reference in New Issue
Block a user