Documentation ¶
Index ¶
- type AddApiReq
- type AddApiRes
- type AddAuthorizeReq
- type AddAuthorizeRes
- type AddDeptReq
- type AddDeptRes
- type AddJobReq
- type AddJobRes
- type AddMenuButtonReq
- type AddMenuButtonRes
- type AddMenuColumnReq
- type AddMenuColumnRes
- type AddMenuReq
- type AddMenuRes
- type AddNotificationsReq
- type AddNotificationsRes
- type AddOrganizationReq
- type AddOrganizationRes
- type AddPluginsConfigReq
- type AddPluginsConfigRes
- type AddPostReq
- type AddPostRes
- type AddRoleReq
- type AddRoleRes
- type AddUserReq
- type AddUserRes
- type AuthorizeQueryReq
- type AuthorizeQueryRes
- type CaptchaIndexReq
- type CaptchaIndexRes
- type CurrentUserReq
- type CurrentUserRes
- type DataScopeReq
- type DataScopeRes
- type DelApiReq
- type DelApiRes
- type DelDeptReq
- type DelDeptRes
- type DelMenuButtonReq
- type DelMenuButtonRes
- type DelMenuColumnReq
- type DelMenuColumnRes
- type DelMenuReq
- type DelMenuRes
- type DelOrganizationReq
- type DelOrganizationRes
- type DelPostReq
- type DelPostRes
- type DelSysLoginLogReq
- type DelSysLoginLogRes
- type DelSysOperLogReq
- type DelSysOperLogRes
- type DeleteJobByIdReq
- type DeleteJobByIdRes
- type DeleteNotificationsReq
- type DeleteNotificationsRes
- type DeletePluginsConfigReq
- type DeletePluginsConfigRes
- type DeleteRoleByIdReq
- type DeleteRoleByIdRes
- type DeleteUserByIdReq
- type DeleteUserByIdRes
- type DeptDoReq
- type DeptDoRes
- type DetailApiReq
- type DetailApiRes
- type DetailDeptReq
- type DetailDeptRes
- type DetailMenuButtonReq
- type DetailMenuButtonRes
- type DetailMenuColumnReq
- type DetailMenuColumnRes
- type DetailMenuReq
- type DetailMenuRes
- type DetailOrganizationReq
- type DetailOrganizationRes
- type DetailPostReq
- type DetailPostRes
- type DetailSysLoginLogReq
- type DetailSysLoginLogRes
- type DetailSysOperLogReq
- type DetailSysOperLogRes
- type EditApiReq
- type EditApiRes
- type EditApiStatusReq
- type EditApiStatusRes
- type EditDeptReq
- type EditDeptRes
- type EditJobReq
- type EditJobRes
- type EditMenuButtonReq
- type EditMenuButtonRes
- type EditMenuButtonStatusReq
- type EditMenuButtonStatusRes
- type EditMenuColumnReq
- type EditMenuColumnRes
- type EditMenuColumnStatusReq
- type EditMenuColumnStatusRes
- type EditMenuReq
- type EditMenuRes
- type EditNotificationsReq
- type EditNotificationsRes
- type EditOrganizationReq
- type EditOrganizationRes
- type EditPluginsConfigReq
- type EditPluginsConfigRes
- type EditPostReq
- type EditPostRes
- type EditRoleReq
- type EditRoleRes
- type EditSysPluginsStatusReq
- type EditSysPluginsStatusRes
- type EditUserAvatarReq
- type EditUserAvatarRes
- type EditUserReq
- type EditUserRes
- type EditUserStatusReq
- type EditUserStatusRes
- type GetApiAllReq
- type GetApiAllRes
- type GetApiTreeReq
- type GetApiTreeRes
- type GetAuthorizeByIdReq
- type GetAuthorizeByIdRes
- type GetJobByIdReq
- type GetJobByIdRes
- type GetJobListReq
- type GetJobListRes
- type GetNotificationsByIdReq
- type GetNotificationsByIdRes
- type GetNotificationsListReq
- type GetNotificationsListRes
- type GetOrganizationCountReq
- type GetOrganizationCountRes
- type GetPluginsConfigByIdReq
- type GetPluginsConfigByIdRes
- type GetPluginsConfigByNameReq
- type GetPluginsConfigByNameRes
- type GetPluginsConfigListReq
- type GetPluginsConfigListRes
- type GetRoleByIdReq
- type GetRoleByIdRes
- type GetSysPluginsByIdReq
- type GetSysPluginsByIdRes
- type GetSysPluginsListReq
- type GetSysPluginsListRes
- type GetUserAllReq
- type GetUserAllRes
- type GetUserByIdReq
- type GetUserByIdRes
- type IsAllowAuthorizeReq
- type IsAllowAuthorizeRes
- type LoginDoReq
- type LoginDoRes
- type LoginOutReq
- type LoginOutRes
- type MenuButtonDoReq
- type MenuButtonDoRes
- type MenuColumnDoReq
- type MenuColumnDoRes
- type MenuDoReq
- type MenuDoRes
- type MonitorSearchReq
- type MonitorSearchRes
- type OrganizationDoReq
- type OrganizationDoRes
- type PostDoReq
- type PostDoRes
- type ResetPasswordReq
- type ResetPasswordRes
- type RoleTreeReq
- type RoleTreeRes
- type RunJobByIdReq
- type RunJobByIdRes
- type SavePluginsConfigReq
- type SavePluginsConfigRes
- type StartJobByIdReq
- type StartJobByIdRes
- type StopJobByIdReq
- type StopJobByIdRes
- type SysLoginLogDoExportReq
- type SysLoginLogDoExportRes
- type SysLoginLogDoReq
- type SysLoginLogDoRes
- type SysOperLogDoReq
- type SysOperLogDoRes
- type UserGetParamsReq
- type UserGetParamsRes
- type UserListReq
- type UserListRes
- type UserOnlineListReq
- type UserOnlineListRes
- type UserOnlineStrongBackReq
- type UserOnlineStrongBackRes
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 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 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 AuthorizeQueryRes ¶
type AuthorizeQueryRes struct {
Data []*model.AuthorizeQueryTreeRes
}
type CaptchaIndexReq ¶
type CaptchaIndexRes ¶
type CurrentUserReq ¶
type CurrentUserRes ¶
type CurrentUserRes struct { Info *model.UserInfoRes Data []*model.UserMenuTreeRes }
type DataScopeReq ¶
type DataScopeRes ¶
type DataScopeRes struct { }
type DelDeptReq ¶
type DelDeptRes ¶
type DelDeptRes struct { }
type DelMenuButtonReq ¶
type DelMenuButtonRes ¶
type DelMenuButtonRes struct { }
type DelMenuColumnReq ¶
type DelMenuColumnRes ¶
type DelMenuColumnRes struct { }
type DelMenuReq ¶
type DelMenuRes ¶
type DelMenuRes struct { }
type DelOrganizationReq ¶
type DelOrganizationRes ¶
type DelOrganizationRes struct { }
type DelPostReq ¶
type DelPostRes ¶
type DelPostRes struct { }
type DelSysLoginLogReq ¶
type DelSysLoginLogRes ¶
type DelSysLoginLogRes struct { }
type DelSysOperLogReq ¶
type DelSysOperLogRes ¶
type DelSysOperLogRes struct { }
type DeleteJobByIdReq ¶
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 DeleteRoleByIdRes ¶
type DeleteRoleByIdRes struct { }
type DeleteUserByIdReq ¶
type DeleteUserByIdRes ¶
type DeleteUserByIdRes struct { }
type DetailApiReq ¶
type DetailApiRes ¶
type DetailDeptReq ¶
type DetailDeptRes ¶
type DetailDeptRes struct {
Data *model.DetailDeptRes
}
type DetailMenuButtonReq ¶
type DetailMenuButtonRes ¶
type DetailMenuButtonRes struct {
Data *model.DetailMenuButtonRes
}
type DetailMenuColumnReq ¶
type DetailMenuColumnRes ¶
type DetailMenuColumnRes struct {
Data *model.DetailMenuColumnRes
}
type DetailMenuReq ¶
type DetailMenuRes ¶
type DetailMenuRes struct {
Data *model.DetailMenuRes
}
type DetailOrganizationReq ¶
type DetailOrganizationRes ¶
type DetailOrganizationRes struct {
Data *model.DetailOrganizationRes
}
type DetailPostReq ¶
type DetailPostRes ¶
type DetailPostRes struct {
Data *model.DetailPostRes
}
type DetailSysLoginLogReq ¶
type DetailSysLoginLogRes ¶
type DetailSysLoginLogRes struct {
Data *entity.SysLoginLog
}
type DetailSysOperLogReq ¶
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 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 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 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 EditSysPluginsStatusRes ¶
type EditSysPluginsStatusRes struct{}
type EditUserAvatarReq ¶
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 EditUserStatusRes ¶
type EditUserStatusRes struct { }
type GetApiAllReq ¶
type GetApiAllRes ¶
type GetApiAllRes struct {
Data []*model.SysApiAllRes
}
type GetApiTreeReq ¶
type GetApiTreeRes ¶
type GetApiTreeRes struct {
Info []*model.SysApiTreeRes
}
type GetAuthorizeByIdReq ¶
type GetAuthorizeByIdRes ¶
type GetJobByIdReq ¶
type GetJobByIdRes ¶
type GetJobListReq ¶
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 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 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 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 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 GetUserAllRes ¶
type GetUserByIdReq ¶
type GetUserByIdRes ¶
type GetUserByIdRes struct {
Data *model.UserInfoRes
}
type IsAllowAuthorizeReq ¶
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 LoginOutRes ¶
type LoginOutRes struct { }
type MenuButtonDoReq ¶
type MenuButtonDoRes ¶
type MenuButtonDoRes struct {
Data []*model.UserMenuButtonRes
}
type MenuColumnDoReq ¶
type MenuColumnDoRes ¶
type MenuColumnDoRes struct {
Data []*model.UserMenuColumnRes
}
type MenuDoRes ¶
type MenuDoRes struct {
Data []*model.SysMenuRes
}
type MonitorSearchReq ¶
type MonitorSearchRes ¶
type OrganizationDoReq ¶
type OrganizationDoRes ¶
type OrganizationDoRes struct {
Data []*model.OrganizationRes
}
type ResetPasswordReq ¶
type ResetPasswordRes ¶
type ResetPasswordRes struct { }
type RoleTreeReq ¶
type RoleTreeRes ¶
type RoleTreeRes struct {
Data []*model.RoleTreeRes
}
type RunJobByIdReq ¶
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 StartJobByIdRes ¶
type StartJobByIdRes struct { }
type StopJobByIdReq ¶
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 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 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 UserOnlineStrongBackRes ¶
type UserOnlineStrongBackRes struct { }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.