1 Star 1 Fork 0

keejiang / yeb

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

云E办接口文档

简介

api文档

HOST:localhost:8081

联系人:QiuXuechen

Version:1.0.0

接口路径:/v2/api-docs

captcha-controller

验证码

接口描述:

接口地址:/captcha

请求方式GET

consumes:["application/json"]

produces:["image/jpeg"]

请求参数: 暂无

响应示例:

响应参数:

暂无

响应状态:

状态码 说明 schema
200 OK
401 Unauthorized
403 Forbidden
404 Not Found

hello-controller

hello2

接口描述:

接口地址:/employee/advanced/123

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

响应参数:

暂无

响应状态:

状态码 说明 schema
200 OK
401 Unauthorized
403 Forbidden
404 Not Found

hello1

接口描述:

接口地址:/employee/basic/hello

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

响应参数:

暂无

响应状态:

状态码 说明 schema
200 OK
401 Unauthorized
403 Forbidden
404 Not Found

hello

接口描述:

接口地址:/hello

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

响应参数:

暂无

响应状态:

状态码 说明 schema
200 OK
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

LoginController

获取当前登录用户信息

接口描述:

接口地址:/admin/info

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

{
	"accountNonExpired": true,
	"accountNonLocked": true,
	"address": "",
	"authorities": [
		{
			"authority": ""
		}
	],
	"credentialsNonExpired": true,
	"enabled": false,
	"id": 0,
	"name": "",
	"password": "",
	"phone": "",
	"remark": "",
	"roles": [
		{
			"id": 0,
			"name": "",
			"nameZh": ""
		}
	],
	"telephone": "",
	"userFace": "",
	"username": ""
}

响应参数:

参数名称 参数说明 类型 schema
accountNonExpired boolean
accountNonLocked boolean
address 联系地址 string
authorities array GrantedAuthority
credentialsNonExpired boolean
enabled 是否启用 boolean
id id integer(int32) integer(int32)
name 姓名 string
password 密码 string
phone 手机号码 string
remark 备注 string
roles 角色 array Role对象
telephone 住宅电话 string
userFace 用户头像 string
username 用户名 string

schema属性说明

GrantedAuthority

参数名称 参数说明 类型 schema
authority string

Role对象

参数名称 参数说明 类型 schema
id id integer(int32)
name 名称 string
nameZh 角色名称 string

响应状态:

状态码 说明 schema
200 OK Admin对象
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

登录之后返回token

接口描述:

接口地址:/login

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求示例

{
	"code": "",
	"password": "",
	"username": ""
}

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
adminLoginParam adminLoginParam body true AdminLoginParam对象 AdminLoginParam对象

schema属性说明

AdminLoginParam对象

参数名称 参数说明 in 是否必须 数据类型 schema
code 验证码 body true string
password 密码 body true string
username 用户名 body true string

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

退出登录

接口描述:

接口地址:/logout

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

menu-controller

根据id查询出权限菜单

接口描述:

接口地址:/system/cfg/menus

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

[
	{
		"children": [
			{
				"children": [],
				"component": "",
				"enabled": false,
				"iconCls": "",
				"id": 0,
				"keepAlive": false,
				"name": "",
				"parentId": 0,
				"path": "",
				"requireAuth": false,
				"roles": [],
				"url": ""
			}
		],
		"component": "",
		"enabled": false,
		"iconCls": "",
		"id": 0,
		"keepAlive": false,
		"name": "",
		"parentId": 0,
		"path": "",
		"requireAuth": false,
		"roles": [
			{
				"id": 0,
				"name": "",
				"nameZh": ""
			}
		],
		"url": ""
	}
]

响应参数:

参数名称 参数说明 类型 schema
children 子对象 array Menu对象
component 组件 string
enabled 是否启用 boolean
iconCls 图标 string
id id integer(int32) integer(int32)
keepAlive 是否保持激活 boolean
name 菜单名 string
parentId 父id integer(int32) integer(int32)
path path string
requireAuth 是否要求权限 boolean
roles 角色列表 array Role对象
url url string

schema属性说明

Menu对象

参数名称 参数说明 类型 schema
children 子对象 array Menu对象
component 组件 string
enabled 是否启用 boolean
iconCls 图标 string
id id integer(int32)
keepAlive 是否保持激活 boolean
name 菜单名 string
parentId 父id integer(int32)
path path string
requireAuth 是否要求权限 boolean
roles 角色列表 array Role对象
url url string

Role对象

参数名称 参数说明 类型 schema
id id integer(int32)
name 名称 string
nameZh 角色名称 string

响应状态:

状态码 说明 schema
200 OK Menu对象
401 Unauthorized
403 Forbidden
404 Not Found

admin-controller

删除操作员及角色

接口描述:

接口地址:/system/admin/deleteAdmin

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
adminId adminId query false integer

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

获取所有操作员可以模糊查询

接口描述:

接口地址:/system/admin/getAllAdmins

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
name name query false string

响应示例:

[
	{
		"accountNonExpired": true,
		"accountNonLocked": true,
		"address": "",
		"authorities": [
			{
				"authority": ""
			}
		],
		"credentialsNonExpired": true,
		"enabled": false,
		"id": 0,
		"name": "",
		"password": "",
		"phone": "",
		"remark": "",
		"roles": [
			{
				"id": 0,
				"name": "",
				"nameZh": ""
			}
		],
		"telephone": "",
		"userFace": "",
		"username": ""
	}
]

响应参数:

参数名称 参数说明 类型 schema
accountNonExpired boolean
accountNonLocked boolean
address 联系地址 string
authorities array GrantedAuthority
credentialsNonExpired boolean
enabled 是否启用 boolean
id id integer(int32) integer(int32)
name 姓名 string
password 密码 string
phone 手机号码 string
remark 备注 string
roles 角色 array Role对象
telephone 住宅电话 string
userFace 用户头像 string
username 用户名 string

schema属性说明

GrantedAuthority

参数名称 参数说明 类型 schema
authority string

Role对象

参数名称 参数说明 类型 schema
id id integer(int32)
name 名称 string
nameZh 角色名称 string

响应状态:

状态码 说明 schema
200 OK Admin对象
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

更新操作员

接口描述:

接口地址:/system/admin/updateAdmin

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求示例

{
	"accountNonExpired": true,
	"accountNonLocked": true,
	"address": "",
	"authorities": [
		{
			"authority": ""
		}
	],
	"credentialsNonExpired": true,
	"enabled": false,
	"id": 0,
	"name": "",
	"password": "",
	"phone": "",
	"remark": "",
	"roles": [
		{
			"id": 0,
			"name": "",
			"nameZh": ""
		}
	],
	"telephone": "",
	"userFace": "",
	"username": ""
}

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
admin admin body true Admin对象 Admin对象

schema属性说明

Admin对象

参数名称 参数说明 in 是否必须 数据类型 schema
accountNonExpired body false boolean
accountNonLocked body false boolean
address 联系地址 body false string
authorities body false array GrantedAuthority
credentialsNonExpired body false boolean
enabled 是否启用 body false boolean
id id body false integer(int32)
name 姓名 body false string
password 密码 body false string
phone 手机号码 body false string
remark 备注 body false string
roles 角色 body false array Role对象
telephone 住宅电话 body false string
userFace 用户头像 body false string
username 用户名 body false string

GrantedAuthority

参数名称 参数说明 in 是否必须 数据类型 schema
authority body false string

Role对象

参数名称 参数说明 in 是否必须 数据类型 schema
id id body false integer(int32)
name 名称 body false string
nameZh 角色名称 body false string

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

更新操作员角色

接口描述:

接口地址:/system/admin/updateAdminAndRole

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
adminId adminId query false integer
rids rids query false array integer

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

politics-status-controller

获取政治面貌列表

接口描述:

接口地址:/employee/basic/politics-status/

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

[
	{
		"id": 0,
		"name": ""
	}
]

响应参数:

参数名称 参数说明 类型 schema
id id integer(int32) integer(int32)
name 政治面貌 string

响应状态:

状态码 说明 schema
200 OK PoliticsStatus对象
401 Unauthorized
403 Forbidden
404 Not Found

nation-controller

获取民族列表

接口描述:

接口地址:/employee/basic/nation/getNationIds

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

[
	{
		"id": 0,
		"name": ""
	}
]

响应参数:

参数名称 参数说明 类型 schema
id id integer(int32) integer(int32)
name 民族 string

响应状态:

状态码 说明 schema
200 OK Nation对象
401 Unauthorized
403 Forbidden
404 Not Found

department-controller

添加部门

接口描述:

接口地址:/system/basic/department/addDepartment

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求示例

{
	"children": [
		{
			"children": [],
			"depPath": "",
			"enabled": false,
			"id": 0,
			"isParent": false,
			"name": "",
			"parentId": 0,
			"result": 0
		}
	],
	"depPath": "",
	"enabled": false,
	"id": 0,
	"isParent": false,
	"name": "",
	"parentId": 0,
	"result": 0
}

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
dep dep body true Department对象 Department对象

schema属性说明

Department对象

参数名称 参数说明 in 是否必须 数据类型 schema
children 子集合 body false array Department对象
depPath 路径 body false string
enabled 是否启用 body false boolean
id id body false integer(int32)
isParent 是否上级 body false boolean
name 部门名称 body false string
parentId 父id body false integer(int32)
result 返回结果,存储过程使用 body false integer(int32)

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

删除部门

接口描述:

接口地址:/system/basic/department/deleteDepartment

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
id id query false integer

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

获取所有部门

接口描述:

接口地址:/system/basic/department/getAllDepartment

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

[
	{
		"children": [
			{
				"children": [],
				"depPath": "",
				"enabled": false,
				"id": 0,
				"isParent": false,
				"name": "",
				"parentId": 0,
				"result": 0
			}
		],
		"depPath": "",
		"enabled": false,
		"id": 0,
		"isParent": false,
		"name": "",
		"parentId": 0,
		"result": 0
	}
]

响应参数:

参数名称 参数说明 类型 schema
children 子集合 array Department对象
depPath 路径 string
enabled 是否启用 boolean
id id integer(int32) integer(int32)
isParent 是否上级 boolean
name 部门名称 string
parentId 父id integer(int32) integer(int32)
result 返回结果,存储过程使用 integer(int32) integer(int32)

schema属性说明

Department对象

参数名称 参数说明 类型 schema
children 子集合 array Department对象
depPath 路径 string
enabled 是否启用 boolean
id id integer(int32)
isParent 是否上级 boolean
name 部门名称 string
parentId 父id integer(int32)
result 返回结果,存储过程使用 integer(int32)

响应状态:

状态码 说明 schema
200 OK Department对象
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

employee-controller

添加新员工

接口描述:

接口地址:/employee/basic/employee/addEmployee

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求示例

{
	"address": "",
	"beginContract": "",
	"beginDate": "",
	"birthday": "",
	"contractTerm": 0,
	"conversionTime": "",
	"department": {
		"children": [
			{
				"children": [
					{}
				],
				"depPath": "",
				"enabled": false,
				"id": 0,
				"isParent": false,
				"name": "",
				"parentId": 0,
				"result": 0
			}
		],
		"depPath": "",
		"enabled": false,
		"id": 0,
		"isParent": false,
		"name": "",
		"parentId": 0,
		"result": 0
	},
	"departmentId": 0,
	"email": "",
	"endContract": "",
	"engageForm": "",
	"gender": "",
	"id": 0,
	"idCard": "",
	"jobLevelId": 0,
	"joblevel": {
		"createDate": "",
		"enabled": false,
		"id": 0,
		"name": "",
		"titleLevel": ""
	},
	"name": "",
	"nation": {
		"id": 0,
		"name": ""
	},
	"nationId": 0,
	"nativePlace": "",
	"notWorkDate": "",
	"phone": "",
	"politicId": 0,
	"politicsStatus": {
		"id": 0,
		"name": ""
	},
	"posId": 0,
	"position": {
		"createDate": "",
		"enabled": false,
		"id": 0,
		"name": ""
	},
	"salaryId": 0,
	"school": "",
	"specialty": "",
	"tiptopDegree": "",
	"wedlock": "",
	"workAge": 0,
	"workID": "",
	"workState": ""
}

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
employee employee body true Employee对象 Employee对象

schema属性说明

Employee对象

参数名称 参数说明 in 是否必须 数据类型 schema
address 联系地址 body false string
beginContract 合同起始日期 body false string(date)
beginDate 入职日期 body false string(date)
birthday 出生日期 body false string(date)
contractTerm 合同期限 body false number(double)
conversionTime 转正日期 body false string(date)
department 部门 body false Department对象 Department对象
departmentId 所属部门 body false integer(int32)
email 邮箱 body false string
endContract 合同终止日期 body false string(date)
engageForm 聘用形式 body false string
gender 性别 body false string
id 员工编号 body false integer(int32)
idCard 身份证号 body false string
jobLevelId 职称ID body false integer(int32)
joblevel 职位等级 body false Joblevel对象 Joblevel对象
name 员工姓名 body false string
nation 民族 body false Nation对象 Nation对象
nationId 民族 body false integer(int32)
nativePlace 籍贯 body false string
notWorkDate 离职日期 body false string(date)
phone 电话号码 body false string
politicId 政治面貌 body false integer(int32)
politicsStatus 政治面貌 body false PoliticsStatus对象 PoliticsStatus对象
posId 职位ID body false integer(int32)
position 职位 body false Position对象 Position对象
salaryId 工资账套ID body false integer(int32)
school 毕业院校 body false string
specialty 所属专业 body false string
tiptopDegree 最高学历 body false string
wedlock 婚姻状况 body false string
workAge 工龄 body false integer(int32)
workID 工号 body false string
workState 在职状态 body false string

Department对象

参数名称 参数说明 in 是否必须 数据类型 schema
children 子集合 body false array Department对象
depPath 路径 body false string
enabled 是否启用 body false boolean
id id body false integer(int32)
isParent 是否上级 body false boolean
name 部门名称 body false string
parentId 父id body false integer(int32)
result 返回结果,存储过程使用 body false integer(int32)

Joblevel对象

参数名称 参数说明 in 是否必须 数据类型 schema
createDate 创建时间 body false string(date-time)
enabled 是否启用 body false boolean
id id body false integer(int32)
name 职称名称 body false string
titleLevel 职称等级 body false string

Nation对象

参数名称 参数说明 in 是否必须 数据类型 schema
id id body false integer(int32)
name 民族 body false string

PoliticsStatus对象

参数名称 参数说明 in 是否必须 数据类型 schema
id id body false integer(int32)
name 政治面貌 body false string

Position对象

参数名称 参数说明 in 是否必须 数据类型 schema
createDate 创建时间 body false string(date-time)
enabled 是否启用 body false boolean
id id body false integer(int32)
name 职位 body false string

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

删除员工

接口描述:

接口地址:/employee/basic/employee/deleteEmployee

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
id id query false integer

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

批量导出员工数据

接口描述:

接口地址:/employee/basic/employee/export

请求方式POST

consumes:["application/json"]

produces:["application/octet-stream"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
ids ids query false array integer

响应示例:

响应参数:

暂无

响应状态:

状态码 说明 schema
200 OK
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

获取所有员工

接口描述:

接口地址:/employee/basic/employee/getAllEmployee

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
currentPage currentPage query false integer
size size query false integer
nation.id id query false integer
nation.name 民族 query false string
politicsStatus.id id query false integer
politicsStatus.name 政治面貌 query false string
department.id id query false integer
department.name 部门名称 query false string
department.parentId 父id query false integer
department.depPath 路径 query false string
department.enabled 是否启用 query false boolean
department.isParent 是否上级 query false boolean
department.result 返回结果,存储过程使用 query false integer
joblevel.id id query false integer
joblevel.name 职称名称 query false string
joblevel.titleLevel 职称等级 query false string
joblevel.createDate 创建时间 query false string
joblevel.enabled 是否启用 query false boolean
position.id id query false integer
position.name 职位 query false string
position.createDate 创建时间 query false string
position.enabled 是否启用 query false boolean
id 员工编号 query false integer
name 员工姓名 query false string
gender 性别 query false string
birthday 出生日期 query false string
idCard 身份证号 query false string
wedlock 婚姻状况 query false string
nationId 民族 query false integer
nativePlace 籍贯 query false string
politicId 政治面貌 query false integer
email 邮箱 query false string
phone 电话号码 query false string
address 联系地址 query false string
departmentId 所属部门 query false integer
jobLevelId 职称ID query false integer
posId 职位ID query false integer
engageForm 聘用形式 query false string
tiptopDegree 最高学历 query false string
specialty 所属专业 query false string
school 毕业院校 query false string
beginDate 入职日期 query false string
workState 在职状态 query false string
workID 工号 query false string
contractTerm 合同期限 query false number
conversionTime 转正日期 query false string
notWorkDate 离职日期 query false string
beginContract 合同起始日期 query false string
endContract 合同终止日期 query false string
workAge 工龄 query false integer
salaryId 工资账套ID query false integer
beginDateScope beginDateScope query false array LocalDate

响应示例:

{
	"data": [],
	"total": 0
}

响应参数:

参数名称 参数说明 类型 schema
data array
total integer(int64) integer(int64)

响应状态:

状态码 说明 schema
200 OK RespPageBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

获取工号

接口描述:

接口地址:/employee/basic/employee/maxWorkID

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
401 Unauthorized
403 Forbidden
404 Not Found

更新员工

接口描述:

接口地址:/employee/basic/employee/updateEmployee

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
nation.id id query false integer
nation.name 民族 query false string
politicsStatus.id id query false integer
politicsStatus.name 政治面貌 query false string
department.id id query false integer
department.name 部门名称 query false string
department.parentId 父id query false integer
department.depPath 路径 query false string
department.enabled 是否启用 query false boolean
department.isParent 是否上级 query false boolean
department.result 返回结果,存储过程使用 query false integer
joblevel.id id query false integer
joblevel.name 职称名称 query false string
joblevel.titleLevel 职称等级 query false string
joblevel.createDate 创建时间 query false string
joblevel.enabled 是否启用 query false boolean
position.id id query false integer
position.name 职位 query false string
position.createDate 创建时间 query false string
position.enabled 是否启用 query false boolean
id 员工编号 query false integer
name 员工姓名 query false string
gender 性别 query false string
birthday 出生日期 query false string
idCard 身份证号 query false string
wedlock 婚姻状况 query false string
nationId 民族 query false integer
nativePlace 籍贯 query false string
politicId 政治面貌 query false integer
email 邮箱 query false string
phone 电话号码 query false string
address 联系地址 query false string
departmentId 所属部门 query false integer
jobLevelId 职称ID query false integer
posId 职位ID query false integer
engageForm 聘用形式 query false string
tiptopDegree 最高学历 query false string
specialty 所属专业 query false string
school 毕业院校 query false string
beginDate 入职日期 query false string
workState 在职状态 query false string
workID 工号 query false string
contractTerm 合同期限 query false number
conversionTime 转正日期 query false string
notWorkDate 离职日期 query false string
beginContract 合同起始日期 query false string
endContract 合同终止日期 query false string
workAge 工龄 query false integer
salaryId 工资账套ID query false integer

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

permission-controller

获取所有角色

接口描述:

接口地址:/system/basic/permission/

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

[
	{
		"id": 0,
		"name": "",
		"nameZh": ""
	}
]

响应参数:

参数名称 参数说明 类型 schema
id id integer(int32) integer(int32)
name 名称 string
nameZh 角色名称 string

响应状态:

状态码 说明 schema
200 OK Role对象
401 Unauthorized
403 Forbidden
404 Not Found

添加角色

接口描述:

接口地址:/system/basic/permission/

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求示例

{
	"id": 0,
	"name": "",
	"nameZh": ""
}

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
role role body true Role对象 Role对象

schema属性说明

Role对象

参数名称 参数说明 in 是否必须 数据类型 schema
id id body false integer(int32)
name 名称 body false string
nameZh 角色名称 body false string

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

查询所有菜单

接口描述:

接口地址:/system/basic/permission/menus

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

[
	{
		"children": [
			{
				"children": [],
				"component": "",
				"enabled": false,
				"iconCls": "",
				"id": 0,
				"keepAlive": false,
				"name": "",
				"parentId": 0,
				"path": "",
				"requireAuth": false,
				"roles": [],
				"url": ""
			}
		],
		"component": "",
		"enabled": false,
		"iconCls": "",
		"id": 0,
		"keepAlive": false,
		"name": "",
		"parentId": 0,
		"path": "",
		"requireAuth": false,
		"roles": [
			{
				"id": 0,
				"name": "",
				"nameZh": ""
			}
		],
		"url": ""
	}
]

响应参数:

参数名称 参数说明 类型 schema
children 子对象 array Menu对象
component 组件 string
enabled 是否启用 boolean
iconCls 图标 string
id id integer(int32) integer(int32)
keepAlive 是否保持激活 boolean
name 菜单名 string
parentId 父id integer(int32) integer(int32)
path path string
requireAuth 是否要求权限 boolean
roles 角色列表 array Role对象
url url string

schema属性说明

Menu对象

参数名称 参数说明 类型 schema
children 子对象 array Menu对象
component 组件 string
enabled 是否启用 boolean
iconCls 图标 string
id id integer(int32)
keepAlive 是否保持激活 boolean
name 菜单名 string
parentId 父id integer(int32)
path path string
requireAuth 是否要求权限 boolean
roles 角色列表 array Role对象
url url string

Role对象

参数名称 参数说明 类型 schema
id id integer(int32)
name 名称 string
nameZh 角色名称 string

响应状态:

状态码 说明 schema
200 OK Menu对象
401 Unauthorized
403 Forbidden
404 Not Found

更新角色的权限菜单

接口描述:

接口地址:/system/basic/permission/menus/update

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
rid rid query false integer
mids mids query false array integer

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

根据角色id查询菜单id

接口描述:

接口地址:/system/basic/permission/menus/{rid}

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
rid rid path true integer

响应示例:

响应参数:

暂无

响应状态:

状态码 说明 schema
200 OK
401 Unauthorized
403 Forbidden
404 Not Found

删除角色

接口描述:

接口地址:/system/basic/permission/role/{id}

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
id id path true integer

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
204 No Content
401 Unauthorized
403 Forbidden

position-controller

查询所有职位信息

接口描述:

接口地址:/system/basic/position/

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

[
	{
		"createDate": "",
		"enabled": false,
		"id": 0,
		"name": ""
	}
]

响应参数:

参数名称 参数说明 类型 schema
createDate 创建时间 string(date-time) string(date-time)
enabled 是否启用 boolean
id id integer(int32) integer(int32)
name 职位 string

响应状态:

状态码 说明 schema
200 OK Position对象
401 Unauthorized
403 Forbidden
404 Not Found

添加职位信息

接口描述:

接口地址:/system/basic/position/

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求示例

{
	"createDate": "",
	"enabled": false,
	"id": 0,
	"name": ""
}

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
position position body true Position对象 Position对象

schema属性说明

Position对象

参数名称 参数说明 in 是否必须 数据类型 schema
createDate 创建时间 body false string(date-time)
enabled 是否启用 body false boolean
id id body false integer(int32)
name 职位 body false string

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

更新职位新信息

接口描述:

接口地址:/system/basic/position/

请求方式PUT

consumes:["application/json"]

produces:["*/*"]

请求示例

{
	"createDate": "",
	"enabled": false,
	"id": 0,
	"name": ""
}

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
position position body true Position对象 Position对象

schema属性说明

Position对象

参数名称 参数说明 in 是否必须 数据类型 schema
createDate 创建时间 body false string(date-time)
enabled 是否启用 body false boolean
id id body false integer(int32)
name 职位 body false string

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

批量删除职位信息

接口描述:

接口地址:/system/basic/position/

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
ids ids query false array integer

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
204 No Content
401 Unauthorized
403 Forbidden

删除职位信息

接口描述:

接口地址:/system/basic/position/{id}

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
id id path true integer

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
204 No Content
401 Unauthorized
403 Forbidden

joblevel-controller

查询所有职称信息

接口描述:

接口地址:/system/basic/joblevel/

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数: 暂无

响应示例:

[
	{
		"createDate": "",
		"enabled": false,
		"id": 0,
		"name": "",
		"titleLevel": ""
	}
]

响应参数:

参数名称 参数说明 类型 schema
createDate 创建时间 string(date-time) string(date-time)
enabled 是否启用 boolean
id id integer(int32) integer(int32)
name 职称名称 string
titleLevel 职称等级 string

响应状态:

状态码 说明 schema
200 OK Joblevel对象
401 Unauthorized
403 Forbidden
404 Not Found

添加职称信息

接口描述:

接口地址:/system/basic/joblevel/

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求示例

{
	"createDate": "",
	"enabled": false,
	"id": 0,
	"name": "",
	"titleLevel": ""
}

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
joblevel joblevel body true Joblevel对象 Joblevel对象

schema属性说明

Joblevel对象

参数名称 参数说明 in 是否必须 数据类型 schema
createDate 创建时间 body false string(date-time)
enabled 是否启用 body false boolean
id id body false integer(int32)
name 职称名称 body false string
titleLevel 职称等级 body false string

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

更新职称信息

接口描述:

接口地址:/system/basic/joblevel/

请求方式PUT

consumes:["application/json"]

produces:["*/*"]

请求示例

{
	"createDate": "",
	"enabled": false,
	"id": 0,
	"name": "",
	"titleLevel": ""
}

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
joblevel joblevel body true Joblevel对象 Joblevel对象

schema属性说明

Joblevel对象

参数名称 参数说明 in 是否必须 数据类型 schema
createDate 创建时间 body false string(date-time)
enabled 是否启用 body false boolean
id id body false integer(int32)
name 职称名称 body false string
titleLevel 职称等级 body false string

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

批量删除职称信息

接口描述:

接口地址:/system/basic/joblevel/

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
id id query false array integer

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
204 No Content
401 Unauthorized
403 Forbidden

批量添加职称信息

接口描述:

接口地址:/system/basic/joblevel/addJoblevelList

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求示例

[
	{
		"createDate": "",
		"enabled": false,
		"id": 0,
		"name": "",
		"titleLevel": ""
	}
]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
joblevel joblevel body true array Joblevel对象

schema属性说明

Joblevel对象

参数名称 参数说明 in 是否必须 数据类型 schema
createDate 创建时间 body false string(date-time)
enabled 是否启用 body false boolean
id id body false integer(int32)
name 职称名称 body false string
titleLevel 职称等级 body false string

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

删除职称信息

接口描述:

接口地址:/system/basic/joblevel/{id}

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称 参数说明 in 是否必须 数据类型 schema
id id path true integer

响应示例:

{
	"code": 0,
	"message": "",
	"object": {}
}

响应参数:

参数名称 参数说明 类型 schema
code integer(int64) integer(int64)
message string
object object

响应状态:

状态码 说明 schema
200 OK RespBean
204 No Content
401 Unauthorized
403 Forbidden

空文件

简介

云E办:前后端分离项目; 展开 收起
Java 等 4 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/keejiang/yeb.git
git@gitee.com:keejiang/yeb.git
keejiang
yeb
yeb
master

搜索帮助