Documentation ¶
Index ¶
- func Generate(templateName string, api bool, vueName string, rowNum int, ...) (result string)
- func GetGenerateType(kind reflect.Kind) string
- type DepartmentController
- func (m *DepartmentController) Add() mvc.Result
- func (m *DepartmentController) AfterActivation(a mvc.AfterActivation)
- func (m *DepartmentController) BeforeActivation(b mvc.BeforeActivation)
- func (m *DepartmentController) DelByIdsHandler(ids string) mvc.Result
- func (m *DepartmentController) Edit() mvc.Result
- func (m *DepartmentController) GetByParentIdHandler(pid string) mvc.Result
- type DictController
- func (m *DictController) AddDict() mvc.Result
- func (m *DictController) AddDictData() mvc.Result
- func (m *DictController) AfterActivation(a mvc.AfterActivation)
- func (m *DictController) BeforeActivation(b mvc.BeforeActivation)
- func (m *DictController) DelDictByIds(ids string) mvc.Result
- func (m *DictController) DelDictDataByIds(ids string) mvc.Result
- func (m *DictController) EditDict() mvc.Result
- func (m *DictController) EditDictData() mvc.Result
- func (m *DictController) GetAllDict() mvc.Result
- func (m *DictController) GetDictDataByCondition() mvc.Result
- type GenerateController
- func (m *GenerateController) BeforeActivation(b mvc.BeforeActivation)
- func (m *GenerateController) GenerateTable(vueName string, rowNum int) mvc.Result
- func (m *GenerateController) GenerateTree(vueName string, rowNum int) mvc.Result
- func (m *GenerateController) GetEntityData(typeName string) mvc.Result
- type MessageController
- func (m *MessageController) Add() mvc.Result
- func (m *MessageController) AfterActivation(a mvc.AfterActivation)
- func (m *MessageController) BeforeActivation(b mvc.BeforeActivation)
- func (m *MessageController) DelByIds(ids string) mvc.Result
- func (m *MessageController) Edit() mvc.Result
- func (m *MessageController) GetAll() mvc.Result
- func (m *MessageController) GetByCondition() mvc.Result
- func (m *MessageController) GetById(id string) mvc.Result
- type MessageSendController
- func (m *MessageSendController) Add() mvc.Result
- func (m *MessageSendController) AfterActivation(a mvc.AfterActivation)
- func (m *MessageSendController) BeforeActivation(b mvc.BeforeActivation)
- func (m *MessageSendController) DelByIds(ids string) mvc.Result
- func (m *MessageSendController) Edit() mvc.Result
- func (m *MessageSendController) GetAll() mvc.Result
- func (m *MessageSendController) GetByCondition() mvc.Result
- func (m *MessageSendController) GetById(id string) mvc.Result
- func (m *MessageSendController) GetMsgCenterChannelId() mvc.Result
- type PermissionController
- func (m *PermissionController) Add() mvc.Result
- func (m *PermissionController) AfterActivation(a mvc.AfterActivation)
- func (m *PermissionController) BeforeActivation(b mvc.BeforeActivation)
- func (m *PermissionController) DelByIds(ids string) mvc.Result
- func (m *PermissionController) Edit() mvc.Result
- func (m *PermissionController) GetAll() mvc.Result
- type RoleController
- func (m *RoleController) Add() mvc.Result
- func (m *RoleController) AfterActivation(a mvc.AfterActivation)
- func (m *RoleController) BeforeActivation(b mvc.BeforeActivation)
- func (m *RoleController) DelByIds(ids string) mvc.Result
- func (m *RoleController) Edit() mvc.Result
- func (m *RoleController) EditDefault() mvc.Result
- func (m *RoleController) EditRoleDep() mvc.Result
- func (m *RoleController) EditRolePerm() mvc.Result
- func (m *RoleController) GetAll() mvc.Result
- func (m *RoleController) GetAllByPage() mvc.Result
- type TaskController
- func (m *TaskController) Add() mvc.Result
- func (m *TaskController) AfterActivation(a mvc.AfterActivation)
- func (m *TaskController) BeforeActivation(b mvc.BeforeActivation)
- func (m *TaskController) DelByIds(ids string) mvc.Result
- func (m *TaskController) Edit() mvc.Result
- func (m *TaskController) GetAll() mvc.Result
- func (m *TaskController) GetByCondition() mvc.Result
- func (m *TaskController) GetById(id string) mvc.Result
- type UserController
- func (m *UserController) Add() mvc.Result
- func (m *UserController) AfterActivation(a mvc.AfterActivation)
- func (m *UserController) BeforeActivation(b mvc.BeforeActivation)
- func (m *UserController) DelByIds(ids string) mvc.Result
- func (m *UserController) Disable(userId string) mvc.Result
- func (m *UserController) Edit() mvc.Result
- func (m *UserController) Enable(userId string) mvc.Result
- func (m *UserController) GetByCondition() mvc.Result
- func (m *UserController) GetByDepartmentId(departmentId string) mvc.Result
- func (m *UserController) ModifyPass() mvc.Result
- func (m *UserController) ResetPassword() mvc.Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGenerateType ¶
Types ¶
type DepartmentController ¶
type DepartmentController struct { Ctx iris.Context Service interface_manage.IDepartmentService JsonEncoder jsoniter.API }
func (*DepartmentController) Add ¶
func (m *DepartmentController) Add() mvc.Result
func (*DepartmentController) AfterActivation ¶
func (m *DepartmentController) AfterActivation(a mvc.AfterActivation)
func (*DepartmentController) BeforeActivation ¶
func (m *DepartmentController) BeforeActivation(b mvc.BeforeActivation)
func (*DepartmentController) DelByIdsHandler ¶
func (m *DepartmentController) DelByIdsHandler(ids string) mvc.Result
func (*DepartmentController) Edit ¶
func (m *DepartmentController) Edit() mvc.Result
func (*DepartmentController) GetByParentIdHandler ¶
func (m *DepartmentController) GetByParentIdHandler(pid string) mvc.Result
type DictController ¶
type DictController struct { Ctx iris.Context Service interface_manage.IDictService JsonEncoder jsoniter.API }
func (*DictController) AddDict ¶
func (m *DictController) AddDict() mvc.Result
func (*DictController) AddDictData ¶
func (m *DictController) AddDictData() mvc.Result
func (*DictController) AfterActivation ¶
func (m *DictController) AfterActivation(a mvc.AfterActivation)
func (*DictController) BeforeActivation ¶
func (m *DictController) BeforeActivation(b mvc.BeforeActivation)
func (*DictController) DelDictByIds ¶
func (m *DictController) DelDictByIds(ids string) mvc.Result
func (*DictController) DelDictDataByIds ¶
func (m *DictController) DelDictDataByIds(ids string) mvc.Result
func (*DictController) EditDict ¶
func (m *DictController) EditDict() mvc.Result
func (*DictController) EditDictData ¶
func (m *DictController) EditDictData() mvc.Result
func (*DictController) GetAllDict ¶
func (m *DictController) GetAllDict() mvc.Result
func (*DictController) GetDictDataByCondition ¶
func (m *DictController) GetDictDataByCondition() mvc.Result
type GenerateController ¶
type GenerateController struct {
Ctx iris.Context
}
func (*GenerateController) BeforeActivation ¶
func (m *GenerateController) BeforeActivation(b mvc.BeforeActivation)
func (*GenerateController) GenerateTable ¶
func (m *GenerateController) GenerateTable(vueName string, rowNum int) mvc.Result
func (*GenerateController) GenerateTree ¶
func (m *GenerateController) GenerateTree(vueName string, rowNum int) mvc.Result
func (*GenerateController) GetEntityData ¶
func (m *GenerateController) GetEntityData(typeName string) mvc.Result
type MessageController ¶
type MessageController struct { Ctx iris.Context JsonEncoder jsoniter.API Service interface_manage.IMessageService UserService interface_manage.IUserService }
func (*MessageController) Add ¶
func (m *MessageController) Add() mvc.Result
func (*MessageController) AfterActivation ¶
func (m *MessageController) AfterActivation(a mvc.AfterActivation)
func (*MessageController) BeforeActivation ¶
func (m *MessageController) BeforeActivation(b mvc.BeforeActivation)
func (*MessageController) Edit ¶
func (m *MessageController) Edit() mvc.Result
func (*MessageController) GetAll ¶
func (m *MessageController) GetAll() mvc.Result
func (*MessageController) GetByCondition ¶
func (m *MessageController) GetByCondition() mvc.Result
type MessageSendController ¶
type MessageSendController struct { Ctx iris.Context JsonEncoder jsoniter.API Service interface_manage.IMessageSendService UserService interface_manage.IUserService }
func (*MessageSendController) Add ¶
func (m *MessageSendController) Add() mvc.Result
func (*MessageSendController) AfterActivation ¶
func (m *MessageSendController) AfterActivation(a mvc.AfterActivation)
func (*MessageSendController) BeforeActivation ¶
func (m *MessageSendController) BeforeActivation(b mvc.BeforeActivation)
func (*MessageSendController) DelByIds ¶
func (m *MessageSendController) DelByIds(ids string) mvc.Result
func (*MessageSendController) Edit ¶
func (m *MessageSendController) Edit() mvc.Result
func (*MessageSendController) GetAll ¶
func (m *MessageSendController) GetAll() mvc.Result
func (*MessageSendController) GetByCondition ¶
func (m *MessageSendController) GetByCondition() mvc.Result
func (*MessageSendController) GetById ¶
func (m *MessageSendController) GetById(id string) mvc.Result
func (*MessageSendController) GetMsgCenterChannelId ¶
func (m *MessageSendController) GetMsgCenterChannelId() mvc.Result
type PermissionController ¶
type PermissionController struct { Ctx iris.Context Service interface_manage.IPermissionService JsonEncoder jsoniter.API }
func (*PermissionController) Add ¶
func (m *PermissionController) Add() mvc.Result
func (*PermissionController) AfterActivation ¶
func (m *PermissionController) AfterActivation(a mvc.AfterActivation)
func (*PermissionController) BeforeActivation ¶
func (m *PermissionController) BeforeActivation(b mvc.BeforeActivation)
func (*PermissionController) DelByIds ¶
func (m *PermissionController) DelByIds(ids string) mvc.Result
func (*PermissionController) Edit ¶
func (m *PermissionController) Edit() mvc.Result
func (*PermissionController) GetAll ¶
func (m *PermissionController) GetAll() mvc.Result
type RoleController ¶
type RoleController struct { Ctx iris.Context Service interface_manage.IRoleService JsonEncoder jsoniter.API }
func (*RoleController) Add ¶
func (m *RoleController) Add() mvc.Result
func (*RoleController) AfterActivation ¶
func (m *RoleController) AfterActivation(a mvc.AfterActivation)
func (*RoleController) BeforeActivation ¶
func (m *RoleController) BeforeActivation(b mvc.BeforeActivation)
func (*RoleController) Edit ¶
func (m *RoleController) Edit() mvc.Result
func (*RoleController) EditDefault ¶
func (m *RoleController) EditDefault() mvc.Result
func (*RoleController) EditRoleDep ¶
func (m *RoleController) EditRoleDep() mvc.Result
func (*RoleController) EditRolePerm ¶
func (m *RoleController) EditRolePerm() mvc.Result
func (*RoleController) GetAll ¶
func (m *RoleController) GetAll() mvc.Result
func (*RoleController) GetAllByPage ¶
func (m *RoleController) GetAllByPage() mvc.Result
type TaskController ¶
type TaskController struct { Ctx iris.Context JsonEncoder jsoniter.API Service interface_manage.ITaskService }
func (*TaskController) Add ¶
func (m *TaskController) Add() mvc.Result
func (*TaskController) AfterActivation ¶
func (m *TaskController) AfterActivation(a mvc.AfterActivation)
func (*TaskController) BeforeActivation ¶
func (m *TaskController) BeforeActivation(b mvc.BeforeActivation)
func (*TaskController) Edit ¶
func (m *TaskController) Edit() mvc.Result
func (*TaskController) GetAll ¶
func (m *TaskController) GetAll() mvc.Result
func (*TaskController) GetByCondition ¶
func (m *TaskController) GetByCondition() mvc.Result
type UserController ¶
type UserController struct { Ctx iris.Context Service interface_manage.IUserService JsonEncoder jsoniter.API }
func (*UserController) Add ¶
func (m *UserController) Add() mvc.Result
func (*UserController) AfterActivation ¶
func (m *UserController) AfterActivation(a mvc.AfterActivation)
func (*UserController) BeforeActivation ¶
func (m *UserController) BeforeActivation(b mvc.BeforeActivation)
func (*UserController) Edit ¶
func (m *UserController) Edit() mvc.Result
func (*UserController) GetByCondition ¶
func (m *UserController) GetByCondition() mvc.Result
func (*UserController) GetByDepartmentId ¶
func (m *UserController) GetByDepartmentId(departmentId string) mvc.Result
func (*UserController) ModifyPass ¶
func (m *UserController) ModifyPass() mvc.Result
func (*UserController) ResetPassword ¶
func (m *UserController) ResetPassword() mvc.Result
Click to show internal directories.
Click to hide internal directories.