mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-16 14:20:24 +08:00
feat: 新增简易版ioc
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
type DbSql struct {
|
||||
DbSqlApp application.DbSql
|
||||
DbSqlApp application.DbSql `inject:""`
|
||||
}
|
||||
|
||||
// @router /api/db/:dbId/sql [post]
|
||||
|
||||
Reference in New Issue
Block a user