mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-03 06:20:25 +08:00
refactor: 引入日志切割库、indexApi拆分等
This commit is contained in:
@@ -15,9 +15,14 @@ func InitMongoRouter(router *gin.RouterGroup) {
|
||||
ma := new(api.Mongo)
|
||||
biz.ErrIsNil(ioc.Inject(ma))
|
||||
|
||||
dashbord := new(api.Dashbord)
|
||||
biz.ErrIsNil(ioc.Inject(dashbord))
|
||||
|
||||
saveDataPerm := req.NewPermission("mongo:data:save")
|
||||
|
||||
reqs := [...]*req.Conf{
|
||||
req.NewGet("dashbord", dashbord.Dashbord),
|
||||
|
||||
// 获取所有mongo列表
|
||||
req.NewGet("", ma.Mongos),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user