Documentation ¶
Index ¶
- Constants
- func GetGridJson(c *revel.Controller, count int, data interface{}) revel.Result
- type App
- type BaseCollection
- type Docker
- type GridJson
- type System
- func (r System) AddRole(role *modules.Role) revel.Result
- func (s System) Dep() revel.Result
- func (s System) DepDelete(id bson.ObjectId) revel.Result
- func (s System) DepEdit(dep *modules.Department) revel.Result
- func (s System) DepInfo(id bson.ObjectId) revel.Result
- func (s System) DepInsert(dep *modules.Department) revel.Result
- func (s System) DepTree() revel.Result
- func (s System) DepTreeUsed() revel.Result
- func (s System) EditRole(role *modules.Role) revel.Result
- func (s System) FuncDelete(id bson.ObjectId) revel.Result
- func (s System) FuncInfo(id bson.ObjectId) revel.Result
- func (s System) FuncInsert(function *modules.Function) revel.Result
- func (s System) FuncSelect(moduleid string) revel.Result
- func (s System) FuncUpdate(function *modules.Function) revel.Result
- func (r System) GetRoleInfo(id bson.ObjectId) revel.Result
- func (s System) GetRoleTreeJson() revel.Result
- func (s System) ModelTree() revel.Result
- func (s System) ModelTreeUsed() revel.Result
- func (s System) Module() revel.Result
- func (s System) ModuleDelete(id bson.ObjectId) revel.Result
- func (s System) ModuleInfo(id bson.ObjectId) revel.Result
- func (s System) ModuleInsert(module *modules.Module) revel.Result
- func (s System) ModuleUpdate(module *modules.Module) revel.Result
- func (s System) Role() revel.Result
- func (s System) RoleDelete(id bson.ObjectId) revel.Result
- func (s System) RoleFunc(roleID, moduleID string) revel.Result
- func (s System) RoleModule(roleID string) revel.Result
- func (s System) RolePerFuncDelete(id bson.ObjectId) revel.Result
- func (s System) RolePerModuleAdd(RoleID, RoleCode, ModuleID string) revel.Result
- func (s System) RolePerModuleDelete(id bson.ObjectId) revel.Result
- func (s System) UserInfo(id bson.ObjectId) revel.Result
- func (s System) UserInsert(user *modules.User) revel.Result
- func (s System) UserSelect(key string, depIds string, pageIndex, pageSize int) revel.Result
- func (s System) UserUpdate(user *modules.User) revel.Result
Constants ¶
View Source
const ( Success = 0 + iota Error )
Variables ¶
This section is empty.
Functions ¶
func GetGridJson ¶
func GetGridJson(c *revel.Controller, count int, data interface{}) revel.Result
Types ¶
type App ¶
type App struct {
BaseCollection
}
type BaseCollection ¶
type BaseCollection struct {
*revel.Controller
}
type Docker ¶
type Docker struct {
BaseCollection
}
type System ¶
type System struct {
BaseCollection
}
func (System) DepTreeUsed ¶
func (System) FuncInsert ¶
========================================================================================
func (System) GetRoleTreeJson ¶
func (System) ModelTreeUsed ¶
func (System) Module ¶
==============================================================================
func (System) RolePerModuleAdd ¶
========================================================================================
func (System) RolePerModuleDelete ¶
func (System) UserSelect ¶
===========================================================================
Click to show internal directories.
Click to hide internal directories.