controller_manage

package
v0.0.0-...-294a70e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(templateName string, api bool, vueName string, rowNum int, generatorOptions generator.Options) (result string)

func GetGenerateType

func GetGenerateType(kind reflect.Kind) string

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) DelByIds

func (m *MessageController) DelByIds(ids string) mvc.Result

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

func (*MessageController) GetById

func (m *MessageController) GetById(id string) 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) DelByIds

func (m *RoleController) DelByIds(ids string) mvc.Result

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) DelByIds

func (m *TaskController) DelByIds(ids string) mvc.Result

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

func (*TaskController) GetById

func (m *TaskController) GetById(id string) 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) DelByIds

func (m *UserController) DelByIds(ids string) mvc.Result

func (*UserController) Disable

func (m *UserController) Disable(userId string) mvc.Result

func (*UserController) Edit

func (m *UserController) Edit() mvc.Result

func (*UserController) Enable

func (m *UserController) Enable(userId string) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL