mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-25 09:06:34 +08:00
feat: 新增简易版ioc
This commit is contained in:
@@ -15,8 +15,8 @@ import (
|
||||
)
|
||||
|
||||
type Role struct {
|
||||
RoleApp application.Role
|
||||
ResourceApp application.Resource
|
||||
RoleApp application.Role `inject:""`
|
||||
ResourceApp application.Resource `inject:""`
|
||||
}
|
||||
|
||||
func (r *Role) Roles(rc *req.Ctx) {
|
||||
|
||||
Reference in New Issue
Block a user