system

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddApiReq

type AddApiReq struct {
	g.Meta   `path:"/api/add" method:"post" summary:"添加Api" tags:"接口API管理"`
	ParentId int    `json:"parentId"  description:""`
	Name     string `json:"name"      description:"名称"     v:"required#请输入名称"`
	Types    int    `json:"types"     description:"1 分类 2接口" v:"required#请选择类型"`
	Method   string `json:"method"    description:"请求方式(数据字典维护)"`
	Address  string `json:"address"   description:"接口地址"`
	Remark   string `json:"remark"    description:"备注"`
	Status   int    `json:"status"    description:"状态 0 停用 1启用"`
	Sort     int    `json:"sort"      description:"排序"`
	MenuIds  []int  `json:"menuIds"        description:"菜单Id数组"`
}

type AddApiRes

type AddApiRes struct {
}

type AddAuthorizeReq

type AddAuthorizeReq struct {
	g.Meta    `path:"/authorize/Add" method:"post" summary:"添加权限" tags:"权限管理"`
	MenuIds   []string `json:"menuIds" description:"菜单ID" v:"required#菜单ID不能为空"`
	ButtonIds []string `json:"buttonIds" description:"按钮ID"`
	ColumnIds []string `json:"columnIds" description:"列表字段ID"`
	ApiIds    []string `json:"apiIds" description:"接口Ids"`
	RoleId    int      `json:"roleId" description:"角色ID" v:"required#角色ID不能为空"`
}

type AddAuthorizeRes

type AddAuthorizeRes struct {
}

type AddDeptReq

type AddDeptReq struct {
	g.Meta         `path:"/dept/add" method:"post" summary:"添加部门" tags:"部门管理"`
	ParentId       int64  `json:"parentId"  description:"父ID" v:"required#请输入选择上级"`
	OrganizationId int    `json:"organizationId" description:"组织ID" v:"required#请输入选择组织"`
	DeptName       string `json:"deptName"  description:"部门名称" v:"required#请输入部门名称"`
	OrderNum       int    `json:"orderNum"  description:"排序"`
	Status         uint   `json:"status"    description:"部门状态(0停用 1正常)" v:"required#请选择状态"`
	Leader         string `json:"leader"    description:"负责人" v:"required#请输入部门负责人"`
	Phone          string `json:"phone"     description:"联系电话" v:"phone#请输入联系电话或格式错误"`
	Email          string `json:"email"     description:"邮箱"`
}

type AddDeptRes

type AddDeptRes struct {
}

type AddJobReq

type AddJobReq struct {
	g.Meta         `path:"/job/add" method:"post" summary:"添加定时任务" tags:"定时任务管理"`
	JobName        string `json:"jobName"  description:"任务名称" v:"required#任务名称不能来空"`
	JobParams      string `json:"jobParams"  description:"任务参数"`
	JobGroup       string `json:"jobGroup" description:"分组"`
	InvokeTarget   string `json:"invokeTarget" description:"执行方法" v:"required#执行方法不能为空"`
	CronExpression string `json:"cronExpression" description:"任务执行表达式" v:"required#任务表达式不能为空"`
	MisfirePolicy  int    `json:"misfirePolicy"`
	Concurrent     int    `json:"concurrent" `
	Status         int    `json:"status" description:"状态" v:"required#状态(0正常 1暂停)不能为空"`
	Remark         string `json:"remark" `
	CreateBy       uint64
}

type AddJobRes

type AddJobRes struct {
}

type AddMenuButtonReq

type AddMenuButtonReq struct {
	g.Meta      `path:"/menu/button/add"     tags:"菜单管理" method:"post" summary:"添加菜单与按钮相关关联"`
	ParentId    int    `json:"parentId"    description:"父ID" v:"required#请选择上级"`
	MenuId      int    `json:"menuId"      description:"菜单ID" v:"required#请选择菜单ID"`
	Name        string `json:"name"        description:"名称" v:"required#请输入名称"`
	Types       string `json:"types"       description:"类型 自定义 add添加 edit编辑 del 删除" v:"required#请选择类型"`
	Description string `json:"description" description:"描述"`
	Status      int    `json:"status"      description:"状态 0 停用 1启用"`
}

type AddMenuButtonRes

type AddMenuButtonRes struct {
}

type AddMenuColumnReq

type AddMenuColumnReq struct {
	g.Meta      `path:"/menu/column/add"     tags:"菜单管理" method:"post" summary:"添加菜单与列表相关关联"`
	ParentId    int    `json:"parentId"    description:"父ID" v:"required#请选择上级"`
	MenuId      int    `json:"menuId"      description:"菜单ID" v:"required#请选择菜单ID"`
	Name        string `json:"name"        description:"名称" v:"required#请输入名称"`
	Code        string `json:"code"        description:"代表列表"`
	Description string `json:"description" description:"描述"`
	Status      int    `json:"status"      description:"状态 0 停用 1启用"`
}

type AddMenuColumnRes

type AddMenuColumnRes struct {
}

type AddMenuReq

type AddMenuReq struct {
	g.Meta     `path:"/menu/add"     tags:"菜单管理" method:"post" summary:"添加菜单"`
	MenuType   uint   `` /* 129-byte string literal not displayed */
	ParentId   int    `p:"parentId"  v:"required#请选择上级" dc:"父ID"`
	Name       string `p:"name"      v:"required#请填写规则名称" dc:"规则名称:具有唯一性"`
	Title      string `p:"title"     v:"required|length:1,100#请填写标题|标题长度在:min到:max位" dc:"规则名称"`
	Icon       string `p:"icon"      dc:"图标"`
	Weigh      int    `p:"weigh"     dc:"权重"`
	Condition  string `p:"condition" dc:"条件"`
	Remark     string `p:"remark"    dc:"备注"`
	IsHide     uint   `p:"isHide"    dc:"显示状态"`
	Path       string `p:"path"      dc:"路由地址"`
	Component  string `p:"component" v:"required-if:menuType,1#组件路径不能为空" dc:"组件路径"`
	IsLink     uint   `p:"isLink"    dc:"是否外链 1是 0否"`
	IsIframe   uint   `p:"isIframe"  dc:"是否内嵌iframe"`
	IsCached   uint   `p:"isKeepAlive" dc:"是否缓存"`
	IsAffix    uint   `p:"isAffix"   dc:"是否固定"`
	LinkUrl    string `p:"linkUrl"   dc:"链接地址"`
	Status     int    `p:"status"   dc:"状态 0 停用 1启用"`
	ModuleType string `p:"moduleType"   dc:"所属模块 system 运维 company企业"`
}

type AddMenuRes

type AddMenuRes struct {
}

type AddNotificationsReq

type AddNotificationsReq struct {
	g.Meta    `path:"/notifications/add" method:"post" summary:"添加消息" tags:"通知中心管理"`
	Types     string `json:"types"          description:"类型"`
	CreatedAt string `json:"createdAt"          description:"发送时间"`
	Status    string `json:"status"          description:"0,未读,1,已读"`
	Title     string `json:"title"          description:"标题"`
	Doc       string `json:"doc"          description:"描述"`
	Source    string `json:"source"          description:"消息来源"`
}

添加数据api

type AddNotificationsRes

type AddNotificationsRes struct{}

type AddOrganizationReq

type AddOrganizationReq struct {
	g.Meta   `path:"/organization/add" method:"post" summary:"添加组织" tags:"组织管理"`
	ParentId int64  `json:"parentId"  description:"父组织id"`
	Name     string `json:"name"  description:"组织名称"`
	OrderNum int    `json:"orderNum"  description:"排序"`
	Status   uint   `json:"status"    description:"部门状态(0停用 1正常)" v:"required#请选择状态"`
	Leader   string `json:"leader"    description:"负责人" v:"required#请输入部门负责人"`
	Phone    string `json:"phone"     description:"联系电话" v:"phone#请输入联系电话或格式错误"`
	Email    string `json:"email"     description:"邮箱"`
}

type AddOrganizationRes

type AddOrganizationRes struct {
}

type AddPluginsConfigReq

type AddPluginsConfigReq struct {
	g.Meta `path:"/plugins_config/add" method:"post" summary:"添加插件配置" tags:"插件管理"`
	Type   string `json:"type"          description:"插件类型"`
	Name   string `json:"name"          description:"插件名称"`
	Value  string `json:"value"          description:"配置内容"`
	Doc    string `json:"doc"          description:"配置说明"`
}

AddPluginsConfigReq 添加数据

type AddPluginsConfigRes

type AddPluginsConfigRes struct{}

type AddPostReq

type AddPostReq struct {
	g.Meta   `path:"/post/add" method:"post" summary:"添加岗位" tags:"岗位管理"`
	ParentId int64  `json:"parentId"  description:"父ID" v:"required#请输入选择上级"`
	PostName string `json:"postName"  description:"岗位名称" v:"required#请输入岗位名称"`
	PostSort int    `json:"postSort"  description:"显示顺序"`
	Status   uint   `json:"status"    description:"状态(0正常 1停用)" v:"required#请选择状态"`
	Remark   string `json:"remark"    description:"备注"`
}

type AddPostRes

type AddPostRes struct {
}

type AddRoleReq

type AddRoleReq struct {
	g.Meta    `path:"/role/add" method:"post" summary:"添加角色" tags:"角色管理"`
	ParentId  int    `json:"parentId"  description:"父ID" v:"required#请输入选择上级"`
	Name      string `json:"name"      description:"角色名称" v:"required#请输入名称"`
	ListOrder uint   `json:"listOrder" description:"排序"`
	Status    uint   `json:"status"    description:"状态;0:禁用;1:正常" v:"required#请选择状态"`
	Remark    string `json:"remark"    description:"备注"`
}

type AddRoleRes

type AddRoleRes struct {
}

type AddUserReq

type AddUserReq struct {
	g.Meta       `path:"/user/add" method:"post" summary:"添加用户" tags:"用户管理"`
	UserName     string `json:"userName"      description:"用户名" v:"required#用户名不能为空"`
	UserTypes    string `json:"userTypes"     description:"系统 system 企业 company"`
	Mobile       string `` /* 152-byte string literal not displayed */
	UserNickname string `json:"userNickname"  description:"用户昵称" v:"required#用户昵称不能为空"`
	Birthday     int    `json:"birthday"      description:"生日"`
	UserPassword string `json:"userPassword"  description:"登录密码;cmf_password加密"`
	UserEmail    string `json:"userEmail"     description:"用户登录邮箱"`
	Sex          int    `json:"sex"           description:"性别;0:保密,1:男,2:女"`
	Avatar       string `json:"avatar"        description:"用户头像"`
	DeptId       uint64 `json:"deptId"        description:"部门id" v:"required#部门不能为空"`
	Remark       string `json:"remark"        description:"备注"`
	IsAdmin      int    `json:"isAdmin"       description:"是否后台管理员 1 是  0   否"`
	Address      string `json:"address"       description:"联系地址"`
	Describe     string `json:"describe"      description:"描述信息"`
	Status       uint   `json:"status"        description:"用户状态;0:禁用,1:正常,2:未验证"`
	RoleIds      []int  `json:"roleIds"      description:"角色ID数组" v:"required#角色不能为空"`
	PostIds      []int  `json:"postIds"      description:"岗位ID数组" v:"required#岗位不能为空"`
}

type AddUserRes

type AddUserRes struct {
}

type AuthorizeQueryReq

type AuthorizeQueryReq struct {
	g.Meta    `path:"/authorize/query" method:"get" summary:"根据类型获取当前用户的权限" tags:"权限管理"`
	ItemsType string `` /* 129-byte string literal not displayed */
	MenuIds   []int  `json:"menuIds" description:"菜单ID"`
}

type AuthorizeQueryRes

type AuthorizeQueryRes struct {
	Data []*model.AuthorizeQueryTreeRes
}

type CaptchaIndexReq

type CaptchaIndexReq struct {
	g.Meta `path:"/captcha" method:"get" tags:"登录" summary:"获取默认的验证码"`
}

type CaptchaIndexRes

type CaptchaIndexRes struct {
	g.Meta `mime:"application/json"`
	Key    string `json:"key" dc:"key"`
	Img    string `json:"img" dc:"图片"`
}

type CurrentUserReq

type CurrentUserReq struct {
	g.Meta `path:"/user/currentUser" method:"get" summary:"获取登录用户信息" tags:"用户管理"`
}

type CurrentUserRes

type CurrentUserRes struct {
	Info *model.UserInfoRes
	Data []*model.UserMenuTreeRes
}

type DataScopeReq

type DataScopeReq struct {
	g.Meta    `path:"/role/dataScope" method:"post" summary:"角色数据权限授权" tags:"角色管理"`
	Id        int     `json:"id"        description:"ID" v:"required#ID不能为空"`
	DataScope uint    `` /* 218-byte string literal not displayed */
	DeptIds   []int64 `json:"deptIds"`
}

type DataScopeRes

type DataScopeRes struct {
}

type DelApiReq

type DelApiReq struct {
	g.Meta `path:"/api/del" method:"delete" summary:"根据ID删除Api" tags:"接口API管理"`
	Id     int `json:"id" description:"ApiID"  v:"required#ID不能为空"`
}

type DelApiRes

type DelApiRes struct {
}

type DelDeptReq

type DelDeptReq struct {
	g.Meta `path:"/dept/del" method:"delete" summary:"根据ID删除部门" tags:"部门管理"`
	DeptId int64 `p:"dept_id" description:"部门ID"  v:"required#ID不能为空"`
}

type DelDeptRes

type DelDeptRes struct {
}

type DelMenuButtonReq

type DelMenuButtonReq struct {
	g.Meta `path:"/menu/button/del" method:"delete" summary:"根据ID删除菜单按钮" tags:"菜单管理"`
	Id     int64 `json:"id" description:"菜单按钮ID"  v:"required#ID不能为空"`
}

type DelMenuButtonRes

type DelMenuButtonRes struct {
}

type DelMenuColumnReq

type DelMenuColumnReq struct {
	g.Meta `path:"/menu/column/del" method:"delete" summary:"根据ID删除菜单列表" tags:"菜单管理"`
	Id     int64 `p:"id" description:"菜单列表ID"  v:"required#ID不能为空"`
}

type DelMenuColumnRes

type DelMenuColumnRes struct {
}

type DelMenuReq

type DelMenuReq struct {
	g.Meta `path:"/menu/del" method:"delete" summary:"根据ID删除菜单" tags:"菜单管理"`
	Id     int64 `p:"id" description:"菜单ID"  v:"required#ID不能为空"`
}

type DelMenuRes

type DelMenuRes struct {
}

type DelOrganizationReq

type DelOrganizationReq struct {
	g.Meta `path:"/organization/del" method:"delete" summary:"根据ID删除组织" tags:"组织管理"`
	Id     int64 `p:"id" description:"组织ID"  v:"required#ID不能为空"`
}

type DelOrganizationRes

type DelOrganizationRes struct {
}

type DelPostReq

type DelPostReq struct {
	g.Meta `path:"/post/del" method:"delete" summary:"根据ID删除岗位" tags:"岗位管理"`
	PostId int64 `p:"post_id" description:"岗位ID"  v:"required#ID不能为空"`
}

type DelPostRes

type DelPostRes struct {
}

type DelSysLoginLogReq

type DelSysLoginLogReq struct {
	g.Meta  `path:"/login/log/del" method:"delete" summary:"根据ID删除访问日志" tags:"访问日志管理"`
	InfoIds []int `json:"infoIds" description:"访问日志ID"  v:"required#ID不能为空"`
}

type DelSysLoginLogRes

type DelSysLoginLogRes struct {
}

type DelSysOperLogReq

type DelSysOperLogReq struct {
	g.Meta  `path:"/oper/log/del" method:"delete" summary:"根据ID删除操作日志" tags:"操作日志管理"`
	OperIds []int `json:"operIds" description:"操作日志ID"  v:"required#ID不能为空"`
}

type DelSysOperLogRes

type DelSysOperLogRes struct {
}

type DeleteJobByIdReq

type DeleteJobByIdReq struct {
	g.Meta `path:"/job/delJobById" method:"delete" summary:"根据ID删除任务" tags:"定时任务管理"`
	Id     []int `json:"id"        description:"ID" v:"required#ID不能为空"`
}

type DeleteJobByIdRes

type DeleteJobByIdRes struct {
}

type DeleteNotificationsReq

type DeleteNotificationsReq struct {
	g.Meta `path:"/notifications/delete" method:"delete" summary:"删除消息" tags:"通知中心管理"`
	Ids    []int `json:"ids"        description:"ids" v:"required#ids不能为空"`
}

删除数据api

type DeleteNotificationsRes

type DeleteNotificationsRes struct{}

type DeletePluginsConfigReq

type DeletePluginsConfigReq struct {
	g.Meta `path:"/plugins_config/delete" method:"delete" summary:"删除插件配置" tags:"插件管理"`
	Ids    []int `json:"ids"        description:"ids" v:"required#ids不能为空"`
}

DeletePluginsConfigReq 删除数据

type DeletePluginsConfigRes

type DeletePluginsConfigRes struct{}

type DeleteRoleByIdReq

type DeleteRoleByIdReq struct {
	g.Meta `path:"/role/delInfoById" method:"delete" summary:"根据ID删除角色" tags:"角色管理"`
	Id     uint `json:"id"        description:"ID" v:"required#ID不能为空"`
}

type DeleteRoleByIdRes

type DeleteRoleByIdRes struct {
}

type DeleteUserByIdReq

type DeleteUserByIdReq struct {
	g.Meta `path:"/user/delInfoById" method:"delete" summary:"根据ID删除用户" tags:"用户管理"`
	Id     uint `json:"id"        description:"ID" v:"required#ID不能为空"`
}

type DeleteUserByIdRes

type DeleteUserByIdRes struct {
}

type DeptDoReq

type DeptDoReq struct {
	g.Meta   `path:"/dept/tree" method:"get" summary:"获取部门列表" tags:"部门管理"`
	Status   int    `p:"status" description:"状态:-1为全部,0为正常,1为停用" `
	DeptName string `p:"dept_name" description:"部门名称"`
}

type DeptDoRes

type DeptDoRes struct {
	Data []*model.DeptRes
}

type DetailApiReq

type DetailApiReq struct {
	g.Meta `path:"/api/detail" method:"get" summary:"根据ID获取Api详情" tags:"接口API管理"`
	Id     int `json:"id" description:"ApiID"  v:"required#ID不能为空"`
}

type DetailApiRes

type DetailApiRes struct {
	Data *model.SysApiRes
}

type DetailDeptReq

type DetailDeptReq struct {
	g.Meta `path:"/dept/detail" method:"get" summary:"根据ID获取部门详情" tags:"部门管理"`
	DeptId int64 `p:"dept_id" description:"部门ID"  v:"required#ID不能为空"`
}

type DetailDeptRes

type DetailDeptRes struct {
	Data *model.DetailDeptRes
}

type DetailMenuButtonReq

type DetailMenuButtonReq struct {
	g.Meta `path:"/menu/button/detail" tags:"菜单管理" method:"get" summary:"根据ID获取菜单按钮详情"`
	Id     int64 `p:"id" description:"菜单按钮ID"  v:"required#ID不能为空"`
}

type DetailMenuButtonRes

type DetailMenuButtonRes struct {
	Data *model.DetailMenuButtonRes
}

type DetailMenuColumnReq

type DetailMenuColumnReq struct {
	g.Meta `path:"/menu/column/detail" tags:"菜单管理" method:"get" summary:"根据ID获取菜单列表详情"`
	Id     int64 `p:"id" description:"菜单列表ID"  v:"required#ID不能为空"`
}

type DetailMenuColumnRes

type DetailMenuColumnRes struct {
	Data *model.DetailMenuColumnRes
}

type DetailMenuReq

type DetailMenuReq struct {
	g.Meta `path:"/menu/detail" tags:"菜单管理" method:"get" summary:"根据ID获取菜单详情"`
	Id     int64 `p:"id" description:"菜单ID"  v:"required#ID不能为空"`
}

type DetailMenuRes

type DetailMenuRes struct {
	Data *model.DetailMenuRes
}

type DetailOrganizationReq

type DetailOrganizationReq struct {
	g.Meta `path:"/organization/detail" method:"get" summary:"根据ID获取组织详情" tags:"组织管理"`
	Id     int64 `p:"id" description:"组织ID"  v:"required#ID不能为空"`
}

type DetailOrganizationRes

type DetailOrganizationRes struct {
	Data *model.DetailOrganizationRes
}

type DetailPostReq

type DetailPostReq struct {
	g.Meta `path:"/post/detail" method:"get" summary:"根据ID获取岗位详情" tags:"岗位管理"`
	PostId int64 `p:"post_id" description:"岗位ID"  v:"required#ID不能为空"`
}

type DetailPostRes

type DetailPostRes struct {
	Data *model.DetailPostRes
}

type DetailSysLoginLogReq

type DetailSysLoginLogReq struct {
	g.Meta `path:"/login/log/detail" tags:"访问日志管理"   method:"get" summary:"根据ID获取访问日志详情"`
	InfoId int `json:"infoId"     description:"访问日志ID"  v:"required#日志ID不能为空"`
}

type DetailSysLoginLogRes

type DetailSysLoginLogRes struct {
	Data *entity.SysLoginLog
}

type DetailSysOperLogReq

type DetailSysOperLogReq struct {
	g.Meta `path:"/oper/log/detail" tags:"操作日志管理"   method:"get" summary:"根据ID获取操作日志详情"`
	OperId int `json:"operId"     description:"操作日志ID"  v:"required#日志ID不能为空"`
}

type DetailSysOperLogRes

type DetailSysOperLogRes struct {
	Data *entity.SysOperLog
}

type EditApiReq

type EditApiReq struct {
	g.Meta   `path:"/api/edit" method:"put" summary:"编辑Api" tags:"接口API管理"`
	Id       int    `json:"id"        description:""       v:"required#ApiId不能为空"`
	ParentId int    `json:"parentId"  description:""`
	Name     string `json:"name"      description:"名称"     v:"required#请输入名称"`
	Types    int    `json:"types"     description:"1 分类 2接口" v:"required#请选择类型"`
	Method   string `json:"method"    description:"请求方式(数据字典维护)"`
	Address  string `json:"address"   description:"接口地址" `
	Remark   string `json:"remark"    description:"备注"`
	Status   int    `json:"status"    description:"状态 0 停用 1启用"`
	Sort     int    `json:"sort"      description:"排序"`
	MenuIds  []int  `json:"menuIds"        description:"菜单Id数组"`
}

type EditApiRes

type EditApiRes struct {
}

type EditApiStatusReq

type EditApiStatusReq struct {
	g.Meta `path:"/api/editStatus" method:"put" summary:"编辑Api状态" tags:"接口API管理"`
	Id     int `json:"id" description:"接口ID"  v:"required#ID不能为空"`
	Status int `json:"status"    description:"状态 0 停用 1启用"`
}

type EditApiStatusRes

type EditApiStatusRes struct {
}

type EditDeptReq

type EditDeptReq struct {
	g.Meta         `path:"/dept/edit" method:"put" summary:"编辑部门" tags:"部门管理"`
	DeptId         int64  `json:"deptId"    description:"部门id"`
	ParentId       int64  `json:"parentId"  description:"父ID" v:"required#请输入选择上级"`
	OrganizationId int    `json:"organizationId" description:"组织ID" v:"required#请输入选择组织"`
	DeptName       string `json:"deptName"  description:"部门名称" v:"required#请输入部门名称"`
	OrderNum       int    `json:"orderNum"  description:"排序"`
	Status         uint   `json:"status"    description:"部门状态(0停用 1正常)" v:"required#请选择状态"`
	Leader         string `json:"leader"    description:"负责人" v:"required#请输入部门负责人"`
	Phone          string `json:"phone"     description:"联系电话" v:"phone#请输入联系电话或格式错误"`
	Email          string `json:"email"     description:"邮箱"`
}

type EditDeptRes

type EditDeptRes struct {
}

type EditJobReq

type EditJobReq struct {
	g.Meta         `path:"/job/edit" method:"put" summary:"编辑定时任务" tags:"定时任务管理"`
	JobId          int64  `json:"job_id" v:"min:1#任务id不能为空"`
	JobName        string `json:"jobName"  description:"任务名称" v:"required#任务名称不能来空"`
	JobParams      string `json:"jobParams"  description:"任务参数"`
	JobGroup       string `json:"jobGroup" description:"分组"`
	InvokeTarget   string `json:"invokeTarget" description:"执行方法" v:"required#执行方法不能为空"`
	CronExpression string `json:"cronExpression" description:"任务执行表达式" v:"required#任务表达式不能为空"`
	MisfirePolicy  int    `json:"misfirePolicy"`
	Concurrent     int    `json:"concurrent" `
	Status         int    `json:"status" description:"状态" v:"required#状态(0正常 1暂停)不能为空"`
	Remark         string `json:"remark" `
	CreateBy       uint64
	UpdateBy       uint64
}

type EditJobRes

type EditJobRes struct {
}

type EditMenuButtonReq

type EditMenuButtonReq struct {
	g.Meta      `path:"/menu/button/edit" method:"put" summary:"编辑菜单按钮" tags:"菜单管理"`
	Id          int    `json:"id"          description:"" v:"required#ID不能为空"`
	ParentId    int    `json:"parentId"    description:"父ID" v:"required#请选择上级"`
	MenuId      int    `json:"menuId"      description:"菜单ID" v:"required#请选择关联菜单"`
	Name        string `json:"name"        description:"名称" v:"required#请输入名称"`
	Types       string `json:"types"       description:"类型 自定义 add添加 edit编辑 del 删除" v:"required#请选择类型"`
	Description string `json:"description" description:"描述"`
	Status      int    `json:"status"      description:"状态 0 停用 1启用"`
}

type EditMenuButtonRes

type EditMenuButtonRes struct {
}

type EditMenuButtonStatusReq

type EditMenuButtonStatusReq struct {
	g.Meta `path:"/menu/button/editStatus" method:"put" summary:"编辑菜单按钮状态" tags:"菜单管理"`
	Id     int `json:"id"          description:"" v:"required#ID不能为空"`
	MenuId int `json:"menuId"      description:"菜单ID" v:"required#请选择关联菜单"`
	Status int `json:"status"      description:"状态 0 停用 1启用"`
}

type EditMenuButtonStatusRes

type EditMenuButtonStatusRes struct {
}

type EditMenuColumnReq

type EditMenuColumnReq struct {
	g.Meta      `path:"/menu/column/edit" method:"put" summary:"编辑菜单列表" tags:"菜单管理"`
	Id          int    `json:"id"          description:"" v:"required#ID不能为空"`
	ParentId    int    `json:"parentId"    description:"父ID" v:"required#请选择上级"`
	MenuId      int    `json:"menuId"      description:"菜单ID" v:"required#请选择关联菜单"`
	Name        string `json:"name"        description:"名称" v:"required#请输入名称"`
	Code        string `json:"code"        description:"代表列表"`
	Description string `json:"description" description:"描述"`
	Status      int    `json:"status"      description:"状态 0 停用 1启用"`
}

type EditMenuColumnRes

type EditMenuColumnRes struct {
}

type EditMenuColumnStatusReq

type EditMenuColumnStatusReq struct {
	g.Meta `path:"/menu/column/editStatus" method:"put" summary:"编辑菜单列表状态" tags:"菜单管理"`
	Id     int `json:"id"          description:"" v:"required#ID不能为空"`
	MenuId int `json:"menuId"      description:"菜单ID" v:"required#请选择关联菜单"`
	Status int `json:"status"      description:"状态 0 停用 1启用"`
}

type EditMenuColumnStatusRes

type EditMenuColumnStatusRes struct {
}

type EditMenuReq

type EditMenuReq struct {
	g.Meta     `path:"/menu/edit" method:"put" summary:"编辑菜单" tags:"菜单管理"`
	Id         int64  `json:"id"    description:"菜单ID" v:"required#菜单ID不能为空"`
	MenuType   uint   `` /* 129-byte string literal not displayed */
	ParentId   int    `p:"parentId"  v:"required#请选择上级" dc:"父ID"`
	Name       string `p:"name"      v:"required#请填写规则名称" dc:"规则名称:具有唯一性"`
	Title      string `p:"title"     v:"required|length:1,100#请填写标题|标题长度在:min到:max位" dc:"规则名称"`
	Icon       string `p:"icon"      dc:"图标"`
	Weigh      int    `p:"weigh"     dc:"权重"`
	Condition  string `p:"condition" dc:"条件"`
	Remark     string `p:"remark"    dc:"备注"`
	IsHide     uint   `p:"isHide"    dc:"显示状态"`
	Path       string `p:"path"      dc:"路由地址"`
	Component  string `p:"component" v:"required-if:menuType,1#组件路径不能为空" dc:"组件路径"`
	IsLink     uint   `p:"isLink"    dc:"是否外链 1是 0否"`
	IsIframe   uint   `p:"isIframe"  dc:"是否内嵌iframe"`
	IsCached   uint   `p:"isKeepAlive" dc:"是否缓存"`
	IsAffix    uint   `p:"isAffix"   dc:"是否固定"`
	LinkUrl    string `p:"linkUrl"   dc:"链接地址"`
	Status     int    `p:"status"   dc:"状态 0 停用 1启用"`
	ModuleType string `p:"moduleType"   dc:"所属模块 system 运维 company企业"`
}

type EditMenuRes

type EditMenuRes struct {
}

type EditNotificationsReq

type EditNotificationsReq struct {
	g.Meta    `path:"/notifications/edit" method:"put" summary:"编辑消息" tags:"通知中心管理"`
	Id        string `json:"id"          description:""`
	Title     string `json:"title"          description:"标题"`
	Doc       string `json:"doc"          description:"描述"`
	Source    string `json:"source"          description:"消息来源"`
	Types     string `json:"types"          description:"类型"`
	CreatedAt string `json:"createdAt"          description:"发送时间"`
	Status    string `json:"status"          description:"0,未读,1,已读"`
}

编辑数据api

type EditNotificationsRes

type EditNotificationsRes struct{}

type EditOrganizationReq

type EditOrganizationReq struct {
	g.Meta   `path:"/organization/edit" method:"put" summary:"编辑组织" tags:"组织管理"`
	Id       int64  `json:"id"    description:"组织id"`
	ParentId int64  `json:"parentId"  description:"父ID" v:"required#请输入选择上级"`
	Name     string `json:"name"  description:"组织名称"`
	OrderNum int    `json:"orderNum"  description:"排序"`
	Status   uint   `json:"status"    description:"部门状态(0停用 1正常)" v:"required#请选择状态"`
	Leader   string `json:"leader"    description:"负责人" v:"required#请输入部门负责人"`
	Phone    string `json:"phone"     description:"联系电话" v:"phone#请输入联系电话或格式错误"`
	Email    string `json:"email"     description:"邮箱"`
}

type EditOrganizationRes

type EditOrganizationRes struct {
}

type EditPluginsConfigReq

type EditPluginsConfigReq struct {
	g.Meta `path:"/plugins_config/edit" method:"put" summary:"编辑插件配置" tags:"插件管理"`
	Value  string `json:"value"          description:"配置内容"`
	Doc    string `json:"doc"          description:"配置说明"`
	Id     string `json:"id"          description:""`
	Type   string `json:"type"          description:"插件类型"`
	Name   string `json:"name"          description:"插件名称"`
}

EditPluginsConfigReq 编辑数据api

type EditPluginsConfigRes

type EditPluginsConfigRes struct{}

type EditPostReq

type EditPostReq struct {
	g.Meta   `path:"/post/edit" method:"put" summary:"编辑岗位" tags:"岗位管理"`
	PostId   int64  `json:"postId"    description:"岗位ID" v:"required#岗位ID不能为空"`
	ParentId int64  `json:"parentId"  description:"父ID" v:"required#请输入选择上级"`
	PostName string `json:"postName"  description:"岗位名称" v:"required#请输入岗位名称"`
	PostSort int    `json:"postSort"  description:"显示顺序"`
	Status   uint   `json:"status"    description:"状态(0正常 1停用)" v:"required#请选择状态"`
	Remark   string `json:"remark"    description:"备注"`
}

type EditPostRes

type EditPostRes struct {
}

type EditRoleReq

type EditRoleReq struct {
	g.Meta    `path:"/role/edit" method:"put" summary:"编辑角色" tags:"角色管理"`
	Id        uint   `json:"id"        description:"ID" v:"required#ID不能为空"`
	ParentId  int    `json:"parentId"  description:"父ID" v:"required#请输入选择上级"`
	Name      string `json:"name"      description:"角色名称" v:"required#请输入名称"`
	ListOrder uint   `json:"listOrder" description:"排序"`
	Status    uint   `json:"status"    description:"状态;0:禁用;1:正常" v:"required#请选择状态"`
	Remark    string `json:"remark"    description:"备注"`
}

type EditRoleRes

type EditRoleRes struct {
}

type EditSysPluginsStatusReq

type EditSysPluginsStatusReq struct {
	g.Meta `path:"/plugins/set" method:"post" summary:"设置插件状态" tags:"插件管理"`
	Id     int `json:"id"          description:"ID"`
	Status int `json:"status"          description:"状态,0停用,1启用"`
}

type EditSysPluginsStatusRes

type EditSysPluginsStatusRes struct{}

type EditUserAvatarReq

type EditUserAvatarReq struct {
	g.Meta `path:"/user/editAvatar" tags:"用户管理" method:"put" summary:"修改用户头像"`
	Id     uint   `json:"id"        description:"ID" v:"required#ID不能为空"`
	Avatar string `json:"avatar"        description:"头像" v:"required#头像不能为空"`
}

type EditUserAvatarRes

type EditUserAvatarRes struct {
}

type EditUserReq

type EditUserReq struct {
	g.Meta       `path:"/user/edit" method:"put" summary:"编辑用户" tags:"用户管理"`
	Id           uint64 `json:"id"            description:""`
	UserName     string `json:"userName"      description:"用户名" v:"required#用户名不能为空"`
	UserTypes    string `json:"userTypes"     description:"系统 system 企业 company"`
	Mobile       string `` /* 152-byte string literal not displayed */
	UserNickname string `json:"userNickname"  description:"用户昵称" v:"required#用户昵称不能为空"`
	Birthday     int    `json:"birthday"      description:"生日"`
	UserEmail    string `json:"userEmail"     description:"用户登录邮箱"`
	Sex          int    `json:"sex"           description:"性别;0:保密,1:男,2:女"`
	Avatar       string `json:"avatar"        description:"用户头像"`
	DeptId       uint64 `json:"deptId"        description:"部门id" v:"required#部门不能为空"`
	Remark       string `json:"remark"        description:"备注"`
	IsAdmin      int    `json:"isAdmin"       description:"是否后台管理员 1 是  0   否"`
	Address      string `json:"address"       description:"联系地址"`
	Describe     string `json:"describe"      description:"描述信息"`
	Status       uint   `json:"status"        description:"用户状态;0:禁用,1:正常,2:未验证"`
	RoleIds      []int  `json:"roleIds"      description:"角色ID数组" v:"required#角色不能为空"`
	PostIds      []int  `json:"postIds"      description:"岗位ID数组" v:"required#岗位不能为空"`
}

type EditUserRes

type EditUserRes struct {
}

type EditUserStatusReq

type EditUserStatusReq struct {
	g.Meta `path:"/user/editStatus" tags:"用户管理" method:"put" summary:"修改用户状态"`
	Id     uint `json:"id"        description:"ID" v:"required#ID不能为空"`
	Status uint `json:"status"        description:"用户状态;0:禁用,1:正常,2:未验证"`
}

type EditUserStatusRes

type EditUserStatusRes struct {
}

type GetApiAllReq

type GetApiAllReq struct {
	g.Meta `path:"/api/GetAll" method:"get" summary:"获取所有接口" tags:"接口API管理"`
}

type GetApiAllRes

type GetApiAllRes struct {
	Data []*model.SysApiAllRes
}

type GetApiTreeReq

type GetApiTreeReq struct {
	g.Meta  `path:"/api/tree" method:"get" summary:"获取接口列表" tags:"接口API管理"`
	Name    string `json:"name"        description:"名称"`
	Address string `json:"address"        description:"接口地址"`
	Status  int    `json:"status"      description:"状态 0 停用 1启用"`
	Types   int    `json:"types"      description:"类型 1 分类 2接口"`
}

type GetApiTreeRes

type GetApiTreeRes struct {
	Info []*model.SysApiTreeRes
}

type GetAuthorizeByIdReq

type GetAuthorizeByIdReq struct {
	g.Meta `path:"/role/getAuthorizeById" method:"get" summary:"根据ID获取权限信息" tags:"角色管理"`
	Id     int `json:"id"        description:"ID" v:"required#ID不能为空"`
}

type GetAuthorizeByIdRes

type GetAuthorizeByIdRes struct {
	MenuIds   []string `json:"menuIds" description:"菜单ID"`
	ButtonIds []string `json:"buttonIds" description:"按钮ID"`
	ColumnIds []string `json:"columnIds" description:"列表字段ID"`
	ApiIds    []string `json:"apiIds" description:"接口Ids"`
}

type GetJobByIdReq

type GetJobByIdReq struct {
	g.Meta `path:"/job/getJobById" method:"get" summary:"根据ID获取任务" tags:"定时任务管理"`
	Id     int `json:"id"        description:"ID" v:"required#ID不能为空"`
}

type GetJobByIdRes

type GetJobByIdRes struct {
	Data *model.SysJobRes
}

type GetJobListReq

type GetJobListReq struct {
	g.Meta   `path:"/job/list" method:"get" summary:"获取任务列表" tags:"定时任务管理"`
	JobName  string `json:"jobName" description:"任务名称"`
	JobGroup string `json:"jobGroup" description:"任务组名"`
	Status   string `json:"status" description:"状态(0正常 1暂停)"`
	*common.PaginationReq
}

type GetJobListRes

type GetJobListRes struct {
	Data []*model.SysJobRes
	common.PaginationRes
}

type GetNotificationsByIdReq

type GetNotificationsByIdReq struct {
	g.Meta `path:"/notifications/get" method:"get" summary:"获取消息列表" tags:"通知中心管理"`
	Id     int `json:"id"        description:"id" v:"required#id不能为空"`
}

获取指定ID的数据api

type GetNotificationsByIdRes

type GetNotificationsByIdRes struct {
	Data *model.NotificationsRes
}

type GetNotificationsListReq

type GetNotificationsListReq struct {
	g.Meta `path:"/notifications/list" method:"get" summary:"获取消息列表" tags:"通知中心管理"`
	common.PaginationReq
}

获取列表api

type GetNotificationsListRes

type GetNotificationsListRes struct {
	Data []*model.NotificationsRes
	common.PaginationRes
}

type GetOrganizationCountReq

type GetOrganizationCountReq struct {
	g.Meta `path:"/organization/count" method:"get" summary:"获取组织数量" tags:"组织管理"`
}

type GetOrganizationCountRes

type GetOrganizationCountRes struct {
	Count int
}

type GetPluginsConfigByIdReq

type GetPluginsConfigByIdReq struct {
	g.Meta `path:"/plugins_config/get" method:"get" summary:"获取插件配置" tags:"插件管理"`
	Id     int `json:"id"        description:"id" v:"required#id不能为空"`
}

GetPluginsConfigByIdReq 获取指定ID的数据

type GetPluginsConfigByIdRes

type GetPluginsConfigByIdRes struct {
	Value string `json:"value"          description:"配置内容"`
	Doc   string `json:"doc"          description:"配置说明"`
	Id    string `json:"id"          description:""`
	Type  string `json:"type"          description:"插件类型"`
	Name  string `json:"name"          description:"插件名称"`
}

type GetPluginsConfigByNameReq

type GetPluginsConfigByNameReq struct {
	g.Meta `path:"/plugins_config/getbyname" method:"get" summary:"获取指定类型与名称的的插件数据" tags:"插件管理"`
	Type   string `json:"type"         description:"type" v:"required#类型不能为空"`
	Name   string `json:"name"         description:"name" v:"required#名称不能为空"`
}

GetPluginsConfigByNameReq 获取指定类型与名称的的插件数据

type GetPluginsConfigByNameRes

type GetPluginsConfigByNameRes struct {
	Value string `json:"value"          description:"配置内容"`
	Doc   string `json:"doc"          description:"配置说明"`
	Id    string `json:"id"          description:""`
	Type  string `json:"type"          description:"插件类型"`
	Name  string `json:"name"          description:"插件名称"`
}

type GetPluginsConfigListReq

type GetPluginsConfigListReq struct {
	g.Meta `path:"/plugins_config/list" method:"get" summary:"获取插件配置列表" tags:"插件管理"`
	common.PaginationReq
}

GetPluginsConfigListReq 获取数据列表

type GetPluginsConfigListRes

type GetPluginsConfigListRes struct {
	Data []GetPluginsConfigByIdRes
	common.PaginationRes
}

type GetRoleByIdReq

type GetRoleByIdReq struct {
	g.Meta `path:"/role/getInfoById" method:"get" summary:"根据ID获取角色" tags:"角色管理"`
	Id     uint `json:"id"        description:"ID" v:"required#ID不能为空"`
}

type GetRoleByIdRes

type GetRoleByIdRes struct {
	Data *model.RoleInfoRes
}

type GetSysPluginsByIdReq

type GetSysPluginsByIdReq struct {
	g.Meta `path:"/plugins/get" method:"get" summary:"获取插件" tags:"插件管理"`
	Id     int `json:"id"        description:"id" v:"required#id不能为空"`
}

GetSysPluginsByIdReq 获取指定ID的数据

type GetSysPluginsByIdRes

type GetSysPluginsByIdRes struct {
	Version   string `json:"version"          description:"版本"`
	Author    string `json:"author"          description:""`
	StartTime string `json:"startTime"          description:""`
	Id        int    `json:"id"          description:"ID"`
	Name      string `json:"name"          description:"名称"`
	Title     string `json:"title"          description:"标题"`
	Intro     string `json:"intro"          description:"介绍"`
	Status    int    `json:"status"          description:"状态"`
	Types     string `json:"types"          description:"插件类型"`
}

type GetSysPluginsListReq

type GetSysPluginsListReq struct {
	g.Meta `path:"/plugins/list" method:"get" summary:"获取插件列表" tags:"插件管理"`
	common.PaginationReq
}

GetSysPluginsListReq 获取数据列表

type GetSysPluginsListRes

type GetSysPluginsListRes struct {
	Data []GetSysPluginsByIdRes
	common.PaginationRes
}

type GetUserAllReq

type GetUserAllReq struct {
	g.Meta `path:"/user/getAll" method:"get" summary:"所有用户列表" tags:"用户管理"`
}

type GetUserAllRes

type GetUserAllRes struct {
	Data []*model.UserRes
}

type GetUserByIdReq

type GetUserByIdReq struct {
	g.Meta `path:"/user/getInfoById" method:"get" summary:"根据ID获取用户" tags:"用户管理"`
	Id     uint `json:"id"        description:"ID" v:"required#ID不能为空"`
}

type GetUserByIdRes

type GetUserByIdRes struct {
	Data *model.UserInfoRes
}

type IsAllowAuthorizeReq

type IsAllowAuthorizeReq struct {
	g.Meta `path:"/authorize/isAllow" method:"get" summary:"判断是否允许给角色授权" tags:"权限管理"`
	RoleId int `json:"roleId" description:"角色ID"  v:"required#角色ID不能为空"`
}

type IsAllowAuthorizeRes

type IsAllowAuthorizeRes struct {
	IsAllow bool `json:"isAllow" description:"是否允许  true允许 false不允许"`
}

type LoginDoReq

type LoginDoReq struct {
	g.Meta    `path:"/login" method:"post" summary:"执行登录请求" tags:"登录"`
	UserName  string `json:"userName" v:"required#请输入账号"   dc:"账号"`
	Password  string `json:"password" v:"required#请输入密码"   dc:"密码"`
	Captcha   string `json:"captcha"  v:"required#请输入验证码" dc:"验证码"`
	VerifyKey string `json:"verifyKey"`
}

type LoginDoRes

type LoginDoRes struct {
	UserInfo *model.LoginUserRes `json:"userInfo"`
	Token    string              `json:"token"`
}

type LoginOutReq

type LoginOutReq struct {
	g.Meta `path:"/loginOut" method:"post" summary:"退出" tags:"登录"`
}

type LoginOutRes

type LoginOutRes struct {
}
type MenuButtonDoReq struct {
	g.Meta   `path:"/menu/button/tree"    tags:"菜单管理" method:"get" summary:"菜单与按钮树列表"`
	MenuId   int    `json:"menuId"          dc:"菜单ID" v:"required#菜单ID不能为空"`
	ParentId int    `json:"parentId"        dc:"父ID"`
	Status   int    `json:"status"           dc:"状态:-1为全部,0为正常,1为停用"`
	Name     string `json:"name"             dc:"名称"`
}
type MenuButtonDoRes struct {
	Data []*model.UserMenuButtonRes
}
type MenuColumnDoReq struct {
	g.Meta   `path:"/menu/column/tree"    tags:"菜单管理" method:"get" summary:"菜单与列表树列表"`
	MenuId   string `json:"menuId"          dc:"菜单ID" v:"required#菜单ID不能为空"`
	ParentId string `json:"parentId"        dc:"父ID"`
	Status   int    `json:"status"           dc:"状态:-1为全部,0为正常,1为停用"`
	Name     string `json:"name"             dc:"名称"`
}
type MenuColumnDoRes struct {
	Data []*model.UserMenuColumnRes
}
type MenuDoReq struct {
	g.Meta `path:"/menu/tree"    tags:"菜单管理" method:"get" summary:"菜单列表"`
	Title  string `p:"title"     dc:"菜单标题"`
	Status int    `p:"status"    dc:"状态:0为停用,1为正常"`
}
type MenuDoRes struct {
	Data []*model.SysMenuRes
}

type MonitorSearchReq

type MonitorSearchReq struct {
	g.Meta `path:"/monitor/server" tags:"服务监控" method:"get" summary:"服务监控"`
}

type MonitorSearchRes

type MonitorSearchRes g.Map

type OrganizationDoReq

type OrganizationDoReq struct {
	g.Meta `path:"/organization/tree" method:"get" summary:"获取组织列表" tags:"组织管理"`
	Status int    `p:"status" description:"状态:-1为全部,0为正常,1为停用" `
	Name   string `p:"name" description:"组织名称"`
}

type OrganizationDoRes

type OrganizationDoRes struct {
	Data []*model.OrganizationRes
}

type PostDoReq

type PostDoReq struct {
	g.Meta   `path:"/post/tree" method:"get" summary:"获取岗位列表" tags:"岗位管理"`
	Status   int    `p:"status" description:"状态:-1为全部,0为正常,1为停用" `
	PostName string `p:"postName" description:"岗位名称"`
	PostCode string `p:"postCode" description:"岗位编码"`
}

type PostDoRes

type PostDoRes struct {
	Data []*model.PostRes
}

type ResetPasswordReq

type ResetPasswordReq struct {
	g.Meta       `path:"/user/resetPassword" method:"post" summary:"重置用户密码" tags:"用户管理"`
	Id           uint   `json:"id"        description:"ID" v:"required#ID不能为空"`
	UserPassword string `json:"userPassword"  description:"登录密码;cmf_password加密"`
}

type ResetPasswordRes

type ResetPasswordRes struct {
}

type RoleTreeReq

type RoleTreeReq struct {
	g.Meta `path:"/role/tree" method:"get" summary:"角色树状列表" tags:"角色管理"`
	Name   string `json:"name"      description:"角色名称"`
	Status int    `json:"status"    description:"状态;0:禁用;1:正常"`
}

type RoleTreeRes

type RoleTreeRes struct {
	Data []*model.RoleTreeRes
}

type RunJobByIdReq

type RunJobByIdReq struct {
	g.Meta `path:"/job/run" method:"put" summary:"执行一个任务" tags:"定时任务管理"`
	Id     int `json:"id"        description:"ID" v:"required#ID不能为空"`
}

type RunJobByIdRes

type RunJobByIdRes struct {
}

type SavePluginsConfigReq

type SavePluginsConfigReq struct {
	g.Meta `path:"/plugins_config/save" method:"post" summary:"直接更新配置数据" tags:"插件管理"`
	Type   string `json:"type"           description:"type" v:"required#插件类型不能为空"`
	Name   string `json:"name"           description:"name" v:"required#插件名称不能为空"`
	Value  string `json:"value"          description:"配置内容,一行一条"`
	Doc    string `json:"doc"          description:"配置说明"`
}

SavePluginsConfigReq 直接更新配置数据

type SavePluginsConfigRes

type SavePluginsConfigRes struct{}

type StartJobByIdReq

type StartJobByIdReq struct {
	g.Meta `path:"/job/start" method:"put" summary:"开始一个任务" tags:"定时任务管理"`
	Id     int `json:"id"        description:"ID" v:"required#ID不能为空"`
}

type StartJobByIdRes

type StartJobByIdRes struct {
}

type StopJobByIdReq

type StopJobByIdReq struct {
	g.Meta `path:"/job/stop" method:"put" summary:"结束一个任务" tags:"定时任务管理"`
	Id     int `json:"id"        description:"ID" v:"required#ID不能为空"`
}

type StopJobByIdRes

type StopJobByIdRes struct {
}

type SysLoginLogDoExportReq

type SysLoginLogDoExportReq struct {
	g.Meta        `path:"/login/log/export"       tags:"访问日志管理" method:"get" summary:"访问日志导出"`
	LoginName     string `p:"login_name"        description:"登录账号"`
	Ipaddr        string `p:"ipaddr"            description:"登录IP地址"`
	LoginLocation string `p:"login_location"    description:"登录地点"`
	Browser       string `p:"browser"           description:"浏览器类型"`
	Os            string `p:"os"                description:"操作系统"`
	Status        int    `p:"status"            description:"登录状态(0失败 1成功)"`
	common.PaginationReq
}

type SysLoginLogDoExportRes

type SysLoginLogDoExportRes struct {
	g.Meta `mime:"text/html" example:"string"`
}

type SysLoginLogDoReq

type SysLoginLogDoReq struct {
	g.Meta        `path:"/login/log/list"       tags:"访问日志管理" method:"get" summary:"访问日志列表"`
	LoginName     string `p:"login_name"        description:"登录账号"`
	Ipaddr        string `p:"ipaddr"            description:"登录IP地址"`
	LoginLocation string `p:"login_location"    description:"登录地点"`
	Browser       string `p:"browser"           description:"浏览器类型"`
	Os            string `p:"os"                description:"操作系统"`
	Status        int    `p:"status"            description:"登录状态(0失败 1成功)"`
	*common.PaginationReq
}

type SysLoginLogDoRes

type SysLoginLogDoRes struct {
	Data []*model.SysLoginLogOut
	common.PaginationRes
}

type SysOperLogDoReq

type SysOperLogDoReq struct {
	g.Meta        `path:"/oper/log/list"       tags:"操作日志管理" method:"get" summary:"操作日志列表"`
	Title         string `p:"title"            description:"模块标题"`
	BusinessType  string `p:"business_type"    description:"业务类型(0其它 1新增 2修改 3删除)"`
	Method        string `p:"method"           description:"方法名称"`
	RequestMethod string `p:"request_method"   description:"请求方式"`
	OperatorType  string `p:"operator_type"    description:"操作类别(0其它 1后台用户 2手机端用户)"`
	OperName      string `p:"oper_name"        description:"操作人员"`
	DeptName      string `p:"dept_name"        description:"部门名称"`
	OperUrl       string `p:"oper_url"         description:"请求URL"`
	OperIp        string `p:"oper_ip"          description:"主机地址"`
	OperLocation  string `p:"oper_location"    description:"操作地点"`
	Status        int    `p:"status"           description:"状态:-1为全部,0为正常,1为停用"`
	*common.PaginationReq
}

type SysOperLogDoRes

type SysOperLogDoRes struct {
	Data []*model.SysOperLogRes
	common.PaginationRes
}

type UserGetParamsReq

type UserGetParamsReq struct {
	g.Meta `path:"/user/params" tags:"用户管理" method:"get" summary:"用户维护参数获取"`
}

type UserGetParamsRes

type UserGetParamsRes struct {
	g.Meta   `mime:"application/json"`
	RoleList []*model.RoleInfoRes   `json:"roleList"`
	Posts    []*model.DetailPostRes `json:"posts"`
}

type UserListReq

type UserListReq struct {
	g.Meta   `path:"/user/list" method:"get" summary:"用户列表" tags:"用户管理"`
	KeyWords string `json:"keyWords" description:"关键词(可根据账号或者用户昵称查询)"`
	DeptId   int    `json:"deptId"        description:"部门ID"`
	UserName string `json:"userName"  description:"用户名"`
	Mobile   string `json:"mobile"  description:"手机号"`
	Status   int    `json:"status"  description:"用户状态;0:禁用,1:正常,2:未验证"`
	*common.PaginationReq
}

type UserListRes

type UserListRes struct {
	Data []*model.UserListRes
	common.PaginationRes
}

type UserOnlineListReq

type UserOnlineListReq struct {
	g.Meta `path:"/userOnline/list" method:"get" summary:"列表" tags:"在线用户管理"`
	*common.PaginationReq
}

type UserOnlineListRes

type UserOnlineListRes struct {
	Data []*model.UserOnlineListRes
	common.PaginationRes
}

type UserOnlineStrongBackReq

type UserOnlineStrongBackReq struct {
	g.Meta `path:"/userOnline/strongBack" method:"delete" summary:"强退" tags:"在线用户管理"`
	Id     int `json:"id"        description:"ID" v:"required#ID不能为空"`
}

type UserOnlineStrongBackRes

type UserOnlineStrongBackRes struct {
}

Jump to

Keyboard shortcuts

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