人才推荐系统API接口文档
来源:互联网 发布:字符串压缩 java 编辑:程序博客网 时间:2024/06/05 23:04
说明:由于课程项目需要API文档,故写了此文档,仅用于学习。
1、用户详情
请求方法
rest/login
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
JSON
{ code:200, message:{"传递参数有误"}}
返回字段说明
2、发布招聘信息
请求方法
rest/recruit/postRecruit
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
{ code:200, message:{"传递参数有误"}}
返回字段说明
3、获取职能列表
请求方法
rest/job/jobList
支持格式
JSON
HTTP请求方式
get
返回结果
JSON
{ "jobList":[ { "gmt_create": { "date":18, "day":6, "minutes":14, "month":2, "nanos":0, "seconds":35, "time":1489806875000, "timezoneOffset":-480, "year":117 } "gmt_modified": { "date":18, "day":6, "minutes":14, "month":2, "nanos":0, "seconds":35, "time":1489806875000, "timezoneOffset":-480, "year":117 } "id":1, "job_name":"程序员" }, { "gmt_create": { "date":18, "day":6, "minutes":14, "month":2, "nanos":0, "seconds":35, "time":1489806875000, "timezoneOffset":-480, "year":117 } "gmt_modified": { "date":18, "day":6, "minutes":14, "month":2, "nanos":0, "seconds":35, "time":1489806875000, "timezoneOffset":-480, "year":117 } "id":1, "job_name":"程序员" } }, "code":200}
返回字段说明
4、获取部门列表
请求方法
rest/department/depList
支持格式
JSON
HTTP请求方式
get
返回结果
JSON
{ "depList":[ { "gmt_create": { "date":18, "day":6, "minutes":14, "month":2, "nanos":0, "seconds":35, "time":1489806875000, "timezoneOffset":-480, "year":117 } "gmt_modified": { "date":18, "day":6, "minutes":14, "month":2, "nanos":0, "seconds":35, "time":1489806875000, "timezoneOffset":-480, "year":117 } "id":1, "dep_name":"会计部", "dep_phone":"", "link_man":"" }, { "gmt_create": { "date":18, "day":6, "minutes":14, "month":2, "nanos":0, "seconds":35, "time":1489806875000, "timezoneOffset":-480, "year":117 } "gmt_modified": { "date":18, "day":6, "minutes":14, "month":2, "nanos":0, "seconds":35, "time":1489806875000, "timezoneOffset":-480, "year":117 } "id":1, "dep_name":"会计部", "dep_phone":"", "link_man":"" } }, "code":200}
返回字段说明
5、获取特定hr的招聘列表(带搜索和分页功能)
请求方法
rest/recruit/getOneHrRecruitList
说明:可以进行模糊查询
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
JSON
{ code:200, RecruitBeanList:{ "totalCount":3, "pageSize":10, "pageNo":1, "totalPage":1, "firstResult":0, "firstPage":true, "prePage":1, "lastPage":true, "nextPage":1, "list":[ { "recruit_id":6, "station_name":"fafsd", "place":"324", "u_id":6, "username":"hr", "dep_id":6, "dep_name":"会计部", "job_id":6, "job_name":"程序员", "number":3, "status":0, "deadline":1492012800000, "recruit":null }, { "recruit_id":6, "station_name":"fafsd", "place":"324", "u_id":6, "username":"hr", "dep_id":6, "dep_name":"会计部", "job_id":6, "job_name":"程序员", "number":3, "status":0, "deadline":1492012800000, "recruit":null } ] }}
返回字段说明
6、获取所有的招聘列表(带搜索和分页功能)
请求方法
rest/recruit/ getRecruitList
说明:可以进行模糊查询
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
JSON
{ code:200, RecruitBeanList:{ "totalCount":3, "pageSize":10, "pageNo":1, "totalPage":1, "firstResult":0, "firstPage":true, "prePage":1, "lastPage":true, "nextPage":1, "list":[ { "recruit_id":6, "station_name":"fafsd", "place":"324", "u_id":6, "username":"hr", "dep_id":6, "dep_name":"会计部", "job_id":6, "job_name":"程序员", "number":3, "status":0, "deadline":1492012800000, "recruit":null }, { "recruit_id":6, "station_name":"fafsd", "place":"324", "u_id":6, "username":"hr", "dep_id":6, "dep_name":"会计部", "job_id":6, "job_name":"程序员", "number":3, "status":0, "deadline":1492012800000, "recruit":null } ] }}
返回字段说明
7、获取单个招聘信息详情
请求方法
rest/recruit/recruitDetail
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
JSON
{ code:200, recruitBean:{ "recruit_id":3, "station_name":null, "place":null, "years":null, "u_id":0, "username":"hr", "dep_id":0, "dep_name":"会计部", "job_id":0, "job_name":"程序员", "number":0, "status":0, "deadline":null, "recruit":{ "id":6, "station_name":"fafsd", "u_id":2, "number":3, "dep_id":1, "place":"324", "job_id":1, "is_fte":1, "years":"234", "deadline":1492012800000 "description":"<p>sdfaf</p>", "requirement":"<p>dfs</p>", "spe_demand":"sdf", "is_emergent":0, "status":0, "gmt_create":1491634826000, "gmt_modified":1491634826000 } }}
返回字段说明
8、获取紧急招聘列表(附带搜索功能)
请求方法
rest/adminSelect/getRecruitlist
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
JSON
{ code:200, recruits:{ "totalCount":3, "pageSize":10, "pageNo":1, "totalPage":1, "firstResult":0, "firstPage":true, "prePage":1, "lastPage":true, "nextPage":1, "list":[ { recruit_id":2, "station_name":"程序员(实习岗", "place":"杭州", "years":"不限", "u_id":2, "username":"hr", "dep_id":2, "dep_name":"会计部", "job_id":2, "job_name":"程序员", "number":2, "status":0, "deadline":1497801600000, "recruit":null }, { recruit_id":2, "station_name":"程序员(实习岗", "place":"杭州", "years":"不限", "u_id":2, "username":"hr", "dep_id":2, "dep_name":"会计部", "job_id":2, "job_name":"程序员", "number":2, "status":0, "deadline":1497801600000, "recruit":null } ] }}
返回字段说明
9、获取简历列表(附带搜索功能)
请求方法
rest/resume/getResumeList
说明:可模糊查询
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
JSON
{ code:200, resumeList:{ "totalCount":3, "pageSize":10, "pageNo":1, "totalPage":1, "firstResult":0, "firstPage":true, "prePage":1, "lastPage":true, "nextPage":1, "list":[ { "id":1, "resume_name":"徐佳慧", "u_id":3, "position":"开发", "gender":"女", "degree":"大学", "school":"浙江工商大学", "is_study":0, "gra_time":1488988800000, "major":"软件", "phone":"13216130161", "email":"2233@qq.com", "skill":"ee", "file_name":"xjh-testxjh.doc", "status":0, "gmt_create":1489916017000, "gmt_modified":1491736382000, "recruit":null }, { "id":1, "resume_name":"徐佳慧", "u_id":3, "position":"开发", "gender":"女", "degree":"大学", "school":"浙江工商大学", "is_study":0, "gra_time":1488988800000, "major":"软件", "phone":"13216130161", "email":"2233@qq.com", "skill":"ee", "file_name":"xjh-testxjh.doc", "status":0, "gmt_create":1489916017000, "gmt_modified":1491736382000, "recruit":null } ] }}
返回字段说明
10、获取简历详情
请求方法
rest/resume/resumeDetail
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
JSON
{ code:200, resumeList:{ "id":1, "resume_name":"徐佳慧", "u_id":3, "position":"开发", "gender":"女", "degree":"大学", "school":"浙江工商大学", "is_study":0, "gra_time":1488988800000, "major":"软件", "phone":"13216130161", "email":"2233@qq.com", "skill":"ee", "file_name":"xjh-testxjh.doc", "status":0, "gmt_create":1489916017000, "gmt_modified":1491736382000 }}
返回字段说明
11、修改简历
请求方法
rest/resume/updateResume
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
JSON
{ "code":200, "error":"..."}
返回字段说明
12、删除单条简历
请求方法
rest/resume/deleteResume
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
{ "code":200, "error":"..."}
返回字段说明
JSON
13、删除多条简历
请求方法
rest/resume/deleteResume
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
JSON
{ "code":200, "error":"..."}
返回字段说明
14、添加简历
请求方法
rest/resume/addResume
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
JSON
{ "code":200, "error":"..."}
返回字段说明
15、得到人才库列表(分页)
请求方法
rest/adminSelect/getTalentlist
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
JSON
{ "talents":{ "totalCount":1, "pageSize":10, "pageNo":1, "totalPage":1, "firstResult":0, "nextPage":1, "prePage":1, "firstPage":true, "lastPage":true "list":[ { "id":1, "position":"开发人员", "gender":"女", "degree":"本科", "school":"浙江工商大学", "is_study":1, "gra_time":1501571671000, "major":"软件工程", "phone":"12132421", "email":"1281955081@qq.com", "skill":"很厉害", "file_name":"1323.txt", "status":0, "gmt_create":1493018066000, "gmt_modified":1493018069000 }, { "id":1, "position":"开发人员", "gender":"女", "degree":"本科", "school":"浙江工商大学", "is_study":1, "gra_time":1501571671000, "major":"软件工程", "phone":"12132421", "email":"1281955081@qq.com", "skill":"很厉害", "file_name":"1323.txt", "status":0, "gmt_create":1493018066000, "gmt_modified":1493018069000 } ] }}
返回字段说明
16、得到员工列表(带搜索和分页功能)
请求方法
rest/adminSelect/getEmployeelist
说明:自带搜索功能
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
JSON
{ "users":{ "totalCount":1, "pageSize":10, "pageNo":1, "totalPage":1, "firstResult":0, "nextPage":1, "prePage":1, "firstPage":true, "lastPage":true "list":[ { "id":0, "username":"xjh", "real_name":"xujiahui", "password":"人力资源部", "salt":null, "role_id":0, "dep_id":0, "email":null, "score":0, "status":0, "gmt_create":null, "gmt_modified":null }, { "id":0, "username":"xjh", "real_name":"xujiahui", "password":"人力资源部", "salt":null, "role_id":0, "dep_id":0, "email":null, "score":0, "status":0, "gmt_create":null, "gmt_modified":null } ] }}
返回字段说明
17、得到hr列表(带搜索和分页功能)
请求方法
rest/adminSelect/getHrlist
说明:自带搜索功能
支持格式
JSON
HTTP请求方式
post
请求参数
返回结果
JSON
{ "users":{ "totalCount":1, "pageSize":10, "pageNo":1, "totalPage":1, "firstResult":0, "nextPage":1, "prePage":1, "firstPage":true, "lastPage":true "list":[ { "id":0, "username":"xjh", "real_name":"xujiahui", "password":"人力资源部", "salt":null, "role_id":0, "dep_id":0, "email":null, "score":0, "status":0, "gmt_create":null, "gmt_modified":null }, { "id":0, "username":"xjh", "real_name":"xujiahui", "password":"人力资源部", "salt":null, "role_id":0, "dep_id":0, "email":null, "score":0, "status":0, "gmt_create":null, "gmt_modified":null } ] }}
返回字段说明
- 人才推荐系统API接口文档
- 人才推荐系统数据库设计
- 推荐一款接口文档在线管理系统-MinDoc
- webkit API接口文档
- 骑士人才系统替换短信接口
- 人才推荐
- API文档生成工具推荐
- FastDFS接口API文档说明
- Opencm9 java api接口文档
- 麦讯通接口开发api文档
- 万年历api接口调用文档
- monkeyrunner API接口文档内容
- IDEA生成API接口文档
- 微信API接口文档
- API登录接口文档事例
- 系统接口API
- 系统API接口规范
- 告别手写 API文档生成工具推荐
- Web Service系列之实例之使用http.client发送SOAP POST请求
- Jquery中的offset()和position()的区别
- Java基础学习笔记:(十)static关键字
- mybatis总结(4)---Mybatis 开发DAO两种方法
- JAVA界面 Swing
- 人才推荐系统API接口文档
- 三十四、SpringBoot配置属性之Server
- Javascript面向对象(七)——类模式
- jdGrid参数说明
- ARM汇编基础
- Python爬取磁力链信息
- IntelliJ IDEA 中的版本控制介绍(中)
- SQLite实现数据持久化存储小案例之购买商品
- POJ 1276 Cash Machine【多重背包】