This commit is contained in:
2025-06-20 17:13:51 +08:00
parent 1b55403cd6
commit fd0345a034
472 changed files with 52560 additions and 77 deletions

View File

@@ -0,0 +1,22 @@
package admin
import (
"github.com/cool-team-official/cool-admin-go/cool"
"github.com/cool-team-official/cool-admin-go/modules/base/service"
)
type BaseSysRoleController struct {
*cool.Controller
}
func init() {
var base_sys_role_controller = &BaseSysRoleController{
&cool.Controller{
Prefix: "/admin/base/sys/role",
Api: []string{"Add", "Delete", "Update", "Info", "List", "Page"},
Service: service.NewBaseSysRoleService(),
},
}
// 注册路由
cool.RegisterController(base_sys_role_controller)
}