mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-30 11:26:35 +08:00
fix: 依赖注入支持私有变量
This commit is contained in:
@@ -12,10 +12,7 @@ import (
|
||||
func InitDbBackupRouter(router *gin.RouterGroup) {
|
||||
dbs := router.Group("/dbs")
|
||||
|
||||
d := &api.DbBackup{
|
||||
//DbBackupApp: application.GetDbBackupApp(),
|
||||
//DbApp: application.GetDbApp(),
|
||||
}
|
||||
d := &api.DbBackup{}
|
||||
biz.ErrIsNil(ioc.Inject(d))
|
||||
|
||||
reqs := []*req.Conf{
|
||||
|
||||
Reference in New Issue
Block a user