云E办接口文档

云E办接口文档

简介

云E办接口文档

HOST:localhost:8081

联系人:wanglufei

Version:1.0

接口路径:/v2/api-docs

captcha-controller

验证码

接口描述:

接口地址:/captcha

请求方式GET

consumes:["application/json"]

produces:["image/jpeg"]

请求参数
暂无

响应示例:

响应参数:

暂无

响应状态:

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

salary-controller

获取所有工资套账

接口描述:

接口地址:/salary/sob/

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

[
	{
		"accumulationFundBase": 0,
		"accumulationFundPer": 0,
		"allSalary": 0,
		"basicSalary": 0,
		"bonus": 0,
		"createDate": "",
		"id": 0,
		"lunchSalary": 0,
		"medicalBase": 0,
		"medicalPer": 0,
		"name": "",
		"pensionBase": 0,
		"pensionPer": 0,
		"trafficSalary": 0
	}
]

响应参数:

参数名称参数说明类型schema
accumulationFundBase公积金基数integer(int32)integer(int32)
accumulationFundPer公积金比率number(float)number(float)
allSalary应发工资integer(int32)integer(int32)
basicSalary基本工资integer(int32)integer(int32)
bonus奖金integer(int32)integer(int32)
createDate启用时间string(date-time)string(date-time)
ididinteger(int32)integer(int32)
lunchSalary午餐补助integer(int32)integer(int32)
medicalBase医疗基数integer(int32)integer(int32)
medicalPer医疗保险比率number(float)number(float)
name名称string
pensionBase养老金基数integer(int32)integer(int32)
pensionPer养老金比率number(float)number(float)
trafficSalary交通补助integer(int32)integer(int32)

响应状态:

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

添加工资套账

接口描述:

接口地址:/salary/sob/

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求示例

{
	"accumulationFundBase": 0,
	"accumulationFundPer": 0,
	"allSalary": 0,
	"basicSalary": 0,
	"bonus": 0,
	"createDate": "",
	"id": 0,
	"lunchSalary": 0,
	"medicalBase": 0,
	"medicalPer": 0,
	"name": "",
	"pensionBase": 0,
	"pensionPer": 0,
	"trafficSalary": 0
}

请求参数

参数名称参数说明in是否必须数据类型schema
salarysalarybodytrueSalary对象Salary对象

schema属性说明

Salary对象

参数名称参数说明in是否必须数据类型schema
accumulationFundBase公积金基数bodyfalseinteger(int32)
accumulationFundPer公积金比率bodyfalsenumber(float)
allSalary应发工资bodyfalseinteger(int32)
basicSalary基本工资bodyfalseinteger(int32)
bonus奖金bodyfalseinteger(int32)
createDate启用时间bodyfalsestring(date-time)
ididbodyfalseinteger(int32)
lunchSalary午餐补助bodyfalseinteger(int32)
medicalBase医疗基数bodyfalseinteger(int32)
medicalPer医疗保险比率bodyfalsenumber(float)
name名称bodyfalsestring
pensionBase养老金基数bodyfalseinteger(int32)
pensionPer养老金比率bodyfalsenumber(float)
trafficSalary交通补助bodyfalseinteger(int32)

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

更新工资套账

接口描述:

接口地址:/salary/sob/

请求方式PUT

consumes:["application/json"]

produces:["*/*"]

请求示例

{
	"accumulationFundBase": 0,
	"accumulationFundPer": 0,
	"allSalary": 0,
	"basicSalary": 0,
	"bonus": 0,
	"createDate": "",
	"id": 0,
	"lunchSalary": 0,
	"medicalBase": 0,
	"medicalPer": 0,
	"name": "",
	"pensionBase": 0,
	"pensionPer": 0,
	"trafficSalary": 0
}

请求参数

参数名称参数说明in是否必须数据类型schema
salarysalarybodytrueSalary对象Salary对象

schema属性说明

Salary对象

参数名称参数说明in是否必须数据类型schema
accumulationFundBase公积金基数bodyfalseinteger(int32)
accumulationFundPer公积金比率bodyfalsenumber(float)
allSalary应发工资bodyfalseinteger(int32)
basicSalary基本工资bodyfalseinteger(int32)
bonus奖金bodyfalseinteger(int32)
createDate启用时间bodyfalsestring(date-time)
ididbodyfalseinteger(int32)
lunchSalary午餐补助bodyfalseinteger(int32)
medicalBase医疗基数bodyfalseinteger(int32)
medicalPer医疗保险比率bodyfalsenumber(float)
name名称bodyfalsestring
pensionBase养老金基数bodyfalseinteger(int32)
pensionPer养老金比率bodyfalsenumber(float)
trafficSalary交通补助bodyfalseinteger(int32)

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

删除工资套账

接口描述:

接口地址:/salary/sob/{id}

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
ididpathtrueinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

admin-controller

获取所有操作员

接口描述:

接口地址:/admin/

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
keywordskeywordsqueryfalsestring

响应示例:

[
	{
		"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
accountNonExpiredboolean
accountNonLockedboolean
address联系地址string
authoritiesarrayGrantedAuthority
credentialsNonExpiredboolean
enabled是否启用boolean
ididinteger(int32)integer(int32)
name姓名string
password密码string
phone手机号码string
remark备注string
roles角色arrayRole对象
telephone住宅电话string
userFace用户头像string
username用户名string

schema属性说明

GrantedAuthority

参数名称参数说明类型schema
authoritystring

Role对象

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

响应状态:

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

更新操作员

接口描述:

接口地址:/admin/

请求方式PUT

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
adminadminbodytrueAdmin对象Admin对象

schema属性说明

Admin对象

参数名称参数说明in是否必须数据类型schema
accountNonExpiredbodyfalseboolean
accountNonLockedbodyfalseboolean
address联系地址bodyfalsestring
authoritiesbodyfalsearrayGrantedAuthority
credentialsNonExpiredbodyfalseboolean
enabled是否启用bodyfalseboolean
ididbodyfalseinteger(int32)
name姓名bodyfalsestring
password密码bodyfalsestring
phone手机号码bodyfalsestring
remark备注bodyfalsestring
roles角色bodyfalsearrayRole对象
telephone住宅电话bodyfalsestring
userFace用户头像bodyfalsestring
username用户名bodyfalsestring

GrantedAuthority

参数名称参数说明in是否必须数据类型schema
authoritybodyfalsestring

Role对象

参数名称参数说明in是否必须数据类型schema
ididbodyfalseinteger(int32)
name名称bodyfalsestring
nameZh角色名称bodyfalsestring

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

updateAdminRole

接口描述:

接口地址:/admin/role

请求方式PUT

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
adminIdadminIdqueryfalseinteger
ridsridsqueryfalsearrayinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

获取所有角色

接口描述:

接口地址:/admin/roles

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

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

响应参数:

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

响应状态:

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

删除操作员

接口描述:

接口地址:/admin/{id}

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
ididpathtrueinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

salary-sob-cfg-controller

获取所有员工工资套账

接口描述:

接口地址:/salary/sobcfg/

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
currentPagecurrentPagequeryfalseinteger
sizesizequeryfalseinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
dataarray
totalinteger(int64)integer(int64)

响应状态:

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

更新员工账套

接口描述:

接口地址:/salary/sobcfg/

请求方式PUT

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
eideidqueryfalseinteger
sidsidqueryfalseinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

获取员工工资套账

接口描述:

接口地址:/salary/sobcfg/salaries

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

[
	{
		"accumulationFundBase": 0,
		"accumulationFundPer": 0,
		"allSalary": 0,
		"basicSalary": 0,
		"bonus": 0,
		"createDate": "",
		"id": 0,
		"lunchSalary": 0,
		"medicalBase": 0,
		"medicalPer": 0,
		"name": "",
		"pensionBase": 0,
		"pensionPer": 0,
		"trafficSalary": 0
	}
]

响应参数:

参数名称参数说明类型schema
accumulationFundBase公积金基数integer(int32)integer(int32)
accumulationFundPer公积金比率number(float)number(float)
allSalary应发工资integer(int32)integer(int32)
basicSalary基本工资integer(int32)integer(int32)
bonus奖金integer(int32)integer(int32)
createDate启用时间string(date-time)string(date-time)
ididinteger(int32)integer(int32)
lunchSalary午餐补助integer(int32)integer(int32)
medicalBase医疗基数integer(int32)integer(int32)
medicalPer医疗保险比率number(float)number(float)
name名称string
pensionBase养老金基数integer(int32)integer(int32)
pensionPer养老金比率number(float)number(float)
trafficSalary交通补助integer(int32)integer(int32)

响应状态:

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

employee-controller

获取所有员工(分页)

接口描述:

接口地址:/employee/basic/

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
currentPagecurrentPagequeryfalseinteger
sizesizequeryfalseinteger
nation.ididqueryfalseinteger
nation.name民族queryfalsestring
politicsStatus.ididqueryfalseinteger
politicsStatus.name政治面貌queryfalsestring
department.ididqueryfalseinteger
department.name部门名称queryfalsestring
department.parentId父idqueryfalseinteger
department.depPath路径queryfalsestring
department.enabled是否启用queryfalseboolean
department.isParent是否上级queryfalseboolean
department.result返回结果,存储过程使用的queryfalseinteger
joblevel.ididqueryfalseinteger
joblevel.name职称名称queryfalsestring
joblevel.titleLevel职称等级queryfalsestring
joblevel.createDate创建时间queryfalsestring
joblevel.enabled是否启用queryfalseboolean
position.ididqueryfalseinteger
position.name职位queryfalsestring
position.createDate创建时间queryfalsestring
position.enabled是否启用queryfalseboolean
salary.ididqueryfalseinteger
salary.basicSalary基本工资queryfalseinteger
salary.bonus奖金queryfalseinteger
salary.lunchSalary午餐补助queryfalseinteger
salary.trafficSalary交通补助queryfalseinteger
salary.allSalary应发工资queryfalseinteger
salary.pensionBase养老金基数queryfalseinteger
salary.pensionPer养老金比率queryfalsenumber
salary.createDate启用时间queryfalsestring
salary.medicalBase医疗基数queryfalseinteger
salary.medicalPer医疗保险比率queryfalsenumber
salary.accumulationFundBase公积金基数queryfalseinteger
salary.accumulationFundPer公积金比率queryfalsenumber
salary.name名称queryfalsestring
id员工编号queryfalseinteger
name员工姓名queryfalsestring
gender性别queryfalsestring
birthday出生日期queryfalsestring
idCard身份证号queryfalsestring
wedlock婚姻状况queryfalsestring
nationId民族queryfalseinteger
nativePlace籍贯queryfalsestring
politicId政治面貌queryfalseinteger
email邮箱queryfalsestring
phone电话号码queryfalsestring
address联系地址queryfalsestring
departmentId所属部门queryfalseinteger
jobLevelId职称IDqueryfalseinteger
posId职位IDqueryfalseinteger
engageForm聘用形式queryfalsestring
tiptopDegree最高学历queryfalsestring
specialty所属专业queryfalsestring
school毕业院校queryfalsestring
beginDate入职日期queryfalsestring
workState在职状态queryfalsestring
workID工号queryfalsestring
contractTerm合同期限queryfalsenumber
conversionTime转正日期queryfalsestring
notWorkDate离职日期queryfalsestring
beginContract合同起始日期queryfalsestring
endContract合同终止日期queryfalsestring
workAge工龄queryfalseinteger
salaryId工资账套IDqueryfalseinteger
beginDateScopebeginDateScopequeryfalsearrayLocalDate

响应示例:

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

响应参数:

参数名称参数说明类型schema
dataarray
totalinteger(int64)integer(int64)

响应状态:

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

添加员工

接口描述:

接口地址:/employee/basic/

请求方式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": ""
	},
	"salary": {
		"accumulationFundBase": 0,
		"accumulationFundPer": 0,
		"allSalary": 0,
		"basicSalary": 0,
		"bonus": 0,
		"createDate": "",
		"id": 0,
		"lunchSalary": 0,
		"medicalBase": 0,
		"medicalPer": 0,
		"name": "",
		"pensionBase": 0,
		"pensionPer": 0,
		"trafficSalary": 0
	},
	"salaryId": 0,
	"school": "",
	"specialty": "",
	"tiptopDegree": "",
	"wedlock": "",
	"workAge": 0,
	"workID": "",
	"workState": ""
}

请求参数

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

schema属性说明

Employee对象

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

Department对象

参数名称参数说明in是否必须数据类型schema
children子部门列表bodyfalsearrayDepartment对象
depPath路径bodyfalsestring
enabled是否启用bodyfalseboolean
ididbodyfalseinteger(int32)
isParent是否上级bodyfalseboolean
name部门名称bodyfalsestring
parentId父idbodyfalseinteger(int32)
result返回结果,存储过程使用的bodyfalseinteger(int32)

Joblevel对象

参数名称参数说明in是否必须数据类型schema
createDate创建时间bodyfalsestring(date-time)
enabled是否启用bodyfalseboolean
ididbodyfalseinteger(int32)
name职称名称bodyfalsestring
titleLevel职称等级bodyfalsestring

Nation对象

参数名称参数说明in是否必须数据类型schema
ididbodyfalseinteger(int32)
name民族bodyfalsestring

PoliticsStatus对象

参数名称参数说明in是否必须数据类型schema
ididbodyfalseinteger(int32)
name政治面貌bodyfalsestring

Position对象

参数名称参数说明in是否必须数据类型schema
createDate创建时间bodyfalsestring(date-time)
enabled是否启用bodyfalseboolean
ididbodyfalseinteger(int32)
name职位bodyfalsestring

Salary对象

参数名称参数说明in是否必须数据类型schema
accumulationFundBase公积金基数bodyfalseinteger(int32)
accumulationFundPer公积金比率bodyfalsenumber(float)
allSalary应发工资bodyfalseinteger(int32)
basicSalary基本工资bodyfalseinteger(int32)
bonus奖金bodyfalseinteger(int32)
createDate启用时间bodyfalsestring(date-time)
ididbodyfalseinteger(int32)
lunchSalary午餐补助bodyfalseinteger(int32)
medicalBase医疗基数bodyfalseinteger(int32)
medicalPer医疗保险比率bodyfalsenumber(float)
name名称bodyfalsestring
pensionBase养老金基数bodyfalseinteger(int32)
pensionPer养老金比率bodyfalsenumber(float)
trafficSalary交通补助bodyfalseinteger(int32)

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

更新员工

接口描述:

接口地址:/employee/basic/

请求方式PUT

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": ""
	},
	"salary": {
		"accumulationFundBase": 0,
		"accumulationFundPer": 0,
		"allSalary": 0,
		"basicSalary": 0,
		"bonus": 0,
		"createDate": "",
		"id": 0,
		"lunchSalary": 0,
		"medicalBase": 0,
		"medicalPer": 0,
		"name": "",
		"pensionBase": 0,
		"pensionPer": 0,
		"trafficSalary": 0
	},
	"salaryId": 0,
	"school": "",
	"specialty": "",
	"tiptopDegree": "",
	"wedlock": "",
	"workAge": 0,
	"workID": "",
	"workState": ""
}

请求参数

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

schema属性说明

Employee对象

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

Department对象

参数名称参数说明in是否必须数据类型schema
children子部门列表bodyfalsearrayDepartment对象
depPath路径bodyfalsestring
enabled是否启用bodyfalseboolean
ididbodyfalseinteger(int32)
isParent是否上级bodyfalseboolean
name部门名称bodyfalsestring
parentId父idbodyfalseinteger(int32)
result返回结果,存储过程使用的bodyfalseinteger(int32)

Joblevel对象

参数名称参数说明in是否必须数据类型schema
createDate创建时间bodyfalsestring(date-time)
enabled是否启用bodyfalseboolean
ididbodyfalseinteger(int32)
name职称名称bodyfalsestring
titleLevel职称等级bodyfalsestring

Nation对象

参数名称参数说明in是否必须数据类型schema
ididbodyfalseinteger(int32)
name民族bodyfalsestring

PoliticsStatus对象

参数名称参数说明in是否必须数据类型schema
ididbodyfalseinteger(int32)
name政治面貌bodyfalsestring

Position对象

参数名称参数说明in是否必须数据类型schema
createDate创建时间bodyfalsestring(date-time)
enabled是否启用bodyfalseboolean
ididbodyfalseinteger(int32)
name职位bodyfalsestring

Salary对象

参数名称参数说明in是否必须数据类型schema
accumulationFundBase公积金基数bodyfalseinteger(int32)
accumulationFundPer公积金比率bodyfalsenumber(float)
allSalary应发工资bodyfalseinteger(int32)
basicSalary基本工资bodyfalseinteger(int32)
bonus奖金bodyfalseinteger(int32)
createDate启用时间bodyfalsestring(date-time)
ididbodyfalseinteger(int32)
lunchSalary午餐补助bodyfalseinteger(int32)
medicalBase医疗基数bodyfalseinteger(int32)
medicalPer医疗保险比率bodyfalsenumber(float)
name名称bodyfalsestring
pensionBase养老金基数bodyfalseinteger(int32)
pensionPer养老金比率bodyfalsenumber(float)
trafficSalary交通补助bodyfalseinteger(int32)

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

获取所有部门

接口描述:

接口地址:/employee/basic/deps

请求方式GET

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子部门列表arrayDepartment对象
depPath路径string
enabled是否启用boolean
ididinteger(int32)integer(int32)
isParent是否上级boolean
name部门名称string
parentId父idinteger(int32)integer(int32)
result返回结果,存储过程使用的integer(int32)integer(int32)

schema属性说明

Department对象

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

响应状态:

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

导出员工数据

接口描述:

接口地址:/employee/basic/export

请求方式GET

consumes:["application/json"]

produces:["application/octet-stream"]

请求参数
暂无

响应示例:

响应参数:

暂无

响应状态:

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

导入员工数据

接口描述:

接口地址:/employee/basic/import

请求方式POST

consumes:["multipart/form-data"]

produces:["*/*"]

请求示例

null

请求参数

参数名称参数说明in是否必须数据类型schema
file上传文件bodyfalseMultipartFileMultipartFile

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

获取所有职称

接口描述:

接口地址:/employee/basic/joblevel

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

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

响应参数:

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

响应状态:

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

获取最大工号

接口描述:

接口地址:/employee/basic/maxWorkID

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

获取所有民族

接口描述:

接口地址:/employee/basic/nation

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

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

响应参数:

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

响应状态:

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

获取所有政治面貌

接口描述:

接口地址:/employee/basic/politicsStatus

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

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

响应参数:

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

响应状态:

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

获取所有职位

接口描述:

接口地址:/employee/basic/position

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

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

响应参数:

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

响应状态:

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

删除员工

接口描述:

接口地址:/employee/basic/{id}

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
ididpathtrueinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

hello-controller

hello3

接口描述:

接口地址:/employee/advanced/hello

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

响应参数:

暂无

响应状态:

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

hello2

接口描述:

接口地址:/employee/basic/hello

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

响应参数:

暂无

响应状态:

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

hello

接口描述:

接口地址:/hello

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

响应参数:

暂无

响应状态:

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

LoginController

获取当前登录用户信息

接口描述:

接口地址:/admin/info

请求方式GET

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
accountNonExpiredboolean
accountNonLockedboolean
address联系地址string
authoritiesarrayGrantedAuthority
credentialsNonExpiredboolean
enabled是否启用boolean
ididinteger(int32)integer(int32)
name姓名string
password密码string
phone手机号码string
remark备注string
roles角色arrayRole对象
telephone住宅电话string
userFace用户头像string
username用户名string

schema属性说明

GrantedAuthority

参数名称参数说明类型schema
authoritystring

Role对象

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

响应状态:

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

登录之后返回token

接口描述:

接口地址:/login

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求示例

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

请求参数

参数名称参数说明in是否必须数据类型schema
adminLogin用户登陆实体类bodytrueAdminLogin对象AdminLogin对象

schema属性说明

AdminLogin对象

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

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

退出登录

接口描述:

接口地址:/logout

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

通过用户ID查询菜单列表

接口描述:

接口地址:/system/cfg/menu

请求方式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子菜单arrayMenu对象
component组件string
enabled是否启用boolean
iconCls图标string
ididinteger(int32)integer(int32)
keepAlive是否保持激活boolean
name菜单名string
parentId父idinteger(int32)integer(int32)
pathpathstring
requireAuth是否要求权限boolean
roles角色列表arrayRole对象
urlurlstring

schema属性说明

Menu对象

参数名称参数说明类型schema
children子菜单arrayMenu对象
component组件string
enabled是否启用boolean
iconCls图标string
ididinteger(int32)
keepAlive是否保持激活boolean
name菜单名string
parentId父idinteger(int32)
pathpathstring
requireAuth是否要求权限boolean
roles角色列表arrayRole对象
urlurlstring

Role对象

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

响应状态:

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

admin-info-controller

更新当前用户对象信息

接口描述:

接口地址:/admin/info

请求方式PUT

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
adminadminbodytrueAdmin对象Admin对象

schema属性说明

Admin对象

参数名称参数说明in是否必须数据类型schema
accountNonExpiredbodyfalseboolean
accountNonLockedbodyfalseboolean
address联系地址bodyfalsestring
authoritiesbodyfalsearrayGrantedAuthority
credentialsNonExpiredbodyfalseboolean
enabled是否启用bodyfalseboolean
ididbodyfalseinteger(int32)
name姓名bodyfalsestring
password密码bodyfalsestring
phone手机号码bodyfalsestring
remark备注bodyfalsestring
roles角色bodyfalsearrayRole对象
telephone住宅电话bodyfalsestring
userFace用户头像bodyfalsestring
username用户名bodyfalsestring

GrantedAuthority

参数名称参数说明in是否必须数据类型schema
authoritybodyfalsestring

Role对象

参数名称参数说明in是否必须数据类型schema
ididbodyfalseinteger(int32)
name名称bodyfalsestring
nameZh角色名称bodyfalsestring

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

更新用户密码

接口描述:

接口地址:/admin/pass

请求方式PUT

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
mapmapbodytrueobject

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

更新用户图像

接口描述:

接口地址:/admin/userface

请求方式PUT

consumes:["multipart/form-data"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
multipartFilemultipartFileformDatafalsefile
ididqueryfalseinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

chat-controller

获取所有的操作员

接口描述:

接口地址:/chat/admin

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
keywordskeywordsqueryfalsestring

响应示例:

[
	{
		"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
accountNonExpiredboolean
accountNonLockedboolean
address联系地址string
authoritiesarrayGrantedAuthority
credentialsNonExpiredboolean
enabled是否启用boolean
ididinteger(int32)integer(int32)
name姓名string
password密码string
phone手机号码string
remark备注string
roles角色arrayRole对象
telephone住宅电话string
userFace用户头像string
username用户名string

schema属性说明

GrantedAuthority

参数名称参数说明类型schema
authoritystring

Role对象

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

响应状态:

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

department-controller

获取所有部门

接口描述:

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

请求方式GET

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子部门列表arrayDepartment对象
depPath路径string
enabled是否启用boolean
ididinteger(int32)integer(int32)
isParent是否上级boolean
name部门名称string
parentId父idinteger(int32)integer(int32)
result返回结果,存储过程使用的integer(int32)integer(int32)

schema属性说明

Department对象

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

响应状态:

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

增加部门

接口描述:

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

请求方式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
depdepbodytrueDepartment对象Department对象

schema属性说明

Department对象

参数名称参数说明in是否必须数据类型schema
children子部门列表bodyfalsearrayDepartment对象
depPath路径bodyfalsestring
enabled是否启用bodyfalseboolean
ididbodyfalseinteger(int32)
isParent是否上级bodyfalseboolean
name部门名称bodyfalsestring
parentId父idbodyfalseinteger(int32)
result返回结果,存储过程使用的bodyfalseinteger(int32)

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

删除部门

接口描述:

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

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
ididpathtrueinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

permission-controller

获取所有角色

接口描述:

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

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

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

响应参数:

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

响应状态:

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

更新角色菜单

接口描述:

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

请求方式PUT

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
ridridqueryfalseinteger
midsmidsqueryfalsearrayinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

状态码说明schema
200OKRespBean
201Created
401Unauthorized
403Forbidden
404Not 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子菜单arrayMenu对象
component组件string
enabled是否启用boolean
iconCls图标string
ididinteger(int32)integer(int32)
keepAlive是否保持激活boolean
name菜单名string
parentId父idinteger(int32)integer(int32)
pathpathstring
requireAuth是否要求权限boolean
roles角色列表arrayRole对象
urlurlstring

schema属性说明

Menu对象

参数名称参数说明类型schema
children子菜单arrayMenu对象
component组件string
enabled是否启用boolean
iconCls图标string
ididinteger(int32)
keepAlive是否保持激活boolean
name菜单名string
parentId父idinteger(int32)
pathpathstring
requireAuth是否要求权限boolean
roles角色列表arrayRole对象
urlurlstring

Role对象

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

响应状态:

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

根据角色ID查询菜单ID

接口描述:

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

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
ridridpathtrueinteger

响应示例:

响应参数:

暂无

响应状态:

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

添加角色

接口描述:

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

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求示例

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

请求参数

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

schema属性说明

Role对象

参数名称参数说明in是否必须数据类型schema
ididbodyfalseinteger(int32)
name名称bodyfalsestring
nameZh角色名称bodyfalsestring

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

删除角色

接口描述:

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

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
ridridpathtrueinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

position-controller

获取职位信息

接口描述:

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

请求方式GET

consumes:["application/json"]

produces:["*/*"]

请求参数
暂无

响应示例:

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

响应参数:

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

响应状态:

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

添加职位信息

接口描述:

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

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求示例

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

请求参数

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

schema属性说明

Position对象

参数名称参数说明in是否必须数据类型schema
createDate创建时间bodyfalsestring(date-time)
enabled是否启用bodyfalseboolean
ididbodyfalseinteger(int32)
name职位bodyfalsestring

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

修改职位信息

接口描述:

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

请求方式PUT

consumes:["application/json"]

produces:["*/*"]

请求示例

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

请求参数

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

schema属性说明

Position对象

参数名称参数说明in是否必须数据类型schema
createDate创建时间bodyfalsestring(date-time)
enabled是否启用bodyfalseboolean
ididbodyfalseinteger(int32)
name职位bodyfalsestring

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

批量删除职位信息

接口描述:

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

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
idsidsqueryfalsearrayinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

删除职位信息

接口描述:

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

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
ididpathtrueinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

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
ididinteger(int32)integer(int32)
name职称名称string
titleLevel职称等级string

响应状态:

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

添加职称

接口描述:

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

请求方式POST

consumes:["application/json"]

produces:["*/*"]

请求示例

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

请求参数

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

schema属性说明

Joblevel对象

参数名称参数说明in是否必须数据类型schema
createDate创建时间bodyfalsestring(date-time)
enabled是否启用bodyfalseboolean
ididbodyfalseinteger(int32)
name职称名称bodyfalsestring
titleLevel职称等级bodyfalsestring

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

修改职称

接口描述:

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

请求方式PUT

consumes:["application/json"]

produces:["*/*"]

请求示例

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

请求参数

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

schema属性说明

Joblevel对象

参数名称参数说明in是否必须数据类型schema
createDate创建时间bodyfalsestring(date-time)
enabled是否启用bodyfalseboolean
ididbodyfalseinteger(int32)
name职称名称bodyfalsestring
titleLevel职称等级bodyfalsestring

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

批量删除职称

接口描述:

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

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
idsidsqueryfalsearrayinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

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

删除职称

接口描述:

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

请求方式DELETE

consumes:["application/json"]

produces:["*/*"]

请求参数

参数名称参数说明in是否必须数据类型schema
ididpathtrueinteger

响应示例:

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

响应参数:

参数名称参数说明类型schema
codeinteger(int64)integer(int64)
messagestring
objobject

响应状态:

状态码说明schema
200OKRespBean
204No Content
401Unauthorized
403Forbidden
  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 8
    评论
评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值