inquire.js 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. import request from './request.js';
  2. // 手机验证码登录获取验证码
  3. export function getCode(param){
  4. return request.post('/api/sms/send', param)
  5. }
  6. // 手机验证码登录接口
  7. export function mobileLogin(param){
  8. return request.post('/api/candidate.user/mobilelogin', param)
  9. }
  10. // //微信授权登录
  11. // export function third(param){
  12. // return request.post('/api/candidate.user/third', param)
  13. // }
  14. // 职位列表
  15. export function getList(param){
  16. return request.post('/api/candidate.job/get_list', param)
  17. }
  18. //政治面貌
  19. export function politics(param){
  20. return request.post('/api/commons/get_political_status', param)
  21. }
  22. //婚姻状态列表
  23. export function marital(param){
  24. return request.post('/api/commons/get_marital_status', param)
  25. }
  26. //所有地区列表
  27. export function getAllArea(param){
  28. return request.post('/api/commons/getAllArea', param)
  29. }
  30. //求职状态
  31. export function getjob(param){
  32. return request.post('/api/commons/get_job_status', param)
  33. }
  34. //求职详情
  35. export function getdetail(param){
  36. return request.post('/api/candidate.job/get_detail', param)
  37. }
  38. //收藏接口
  39. export function collect(param){
  40. return request.post('/api/candidate.job_collect/collect', param)
  41. }
  42. //公司简介
  43. export function companydetail(param){
  44. return request.post('/api/company/get_company_detail', param)
  45. }
  46. //获取招聘职位列表
  47. export function getjoblist(param){
  48. return request.post('/api/company/get_company_job_list', param)
  49. }
  50. //公司职位统计
  51. export function jobdata(param){
  52. return request.post('/api/company/get_company_job_data', param)
  53. }
  54. //工作年限列表
  55. export function getexperience(param){
  56. return request.post('/api/commons/get_experience', param)
  57. }
  58. //获取省市列表
  59. export function getareacity(param){
  60. return request.post('/api/commons/get_area_city', param)
  61. }
  62. //论坛列表
  63. export function articlelist(param){
  64. return request.get('/api/candidate.forum/article_list', param)
  65. }
  66. //圈子列表
  67. export function grouplist(param){
  68. return request.get('/api/candidate.forum/group_list', param)
  69. }
  70. //我的关注-用户列表
  71. export function followuser(param){
  72. return request.post('/api/candidate.forum/mine_follow_user', param)
  73. }
  74. //关注-取消关注
  75. export function follow(param){
  76. return request.post('/api/candidate.forum/follow', param)
  77. }
  78. //用户中心
  79. export function index(param){
  80. return request.post('/api/candidate.user/index', param)
  81. }
  82. //帖子点赞或取消点赞
  83. export function articlelike(param){
  84. return request.post('/api/candidate.forum/article_like', param)
  85. }
  86. //评论点赞或取消点赞
  87. export function commentlike(param){
  88. return request.post('/api/candidate.forum/comment_like', param)
  89. }
  90. //评论帖子
  91. export function articlecomment(param){
  92. return request.post('/api/candidate.forum/article_comment', param)
  93. }
  94. //查看评论
  95. export function readcomment(param){
  96. return request.post('/api/candidate.forum/read_comment', param)
  97. }
  98. //帖子详情
  99. export function articledetails(param){
  100. return request.post('/api/candidate.forum/article_details', param)
  101. }
  102. //他人主页
  103. export function homepagearticle(param){
  104. return request.post('/api/candidate.forum/others_homepage_article', param)
  105. }
  106. //用户关注圈子列表
  107. export function followgrouplist(param){
  108. return request.post('/api/candidate.forum/user_follow_group_list', param)
  109. }
  110. //用户创建圈子列表
  111. export function usergrouplist(param){
  112. return request.post('/api/candidate.forum/user_group_list', param)
  113. }
  114. //他人主页
  115. export function others_homepage(param){
  116. return request.post('/api/candidate.forum/others_homepage', param)
  117. }
  118. //删除帖子
  119. export function del_article(param){
  120. return request.post('/api/candidate.forum/del_article', param)
  121. }
  122. //圈子主页用户信息
  123. export function group_details_user(param){
  124. return request.post('/api/candidate.forum/group_details_user', param)
  125. }
  126. //圈子主页
  127. export function group_details_article(param){
  128. return request.post('/api/candidate.forum/group_details_article', param)
  129. }
  130. //圈子主页
  131. export function message(param){
  132. return request.post('/api/candidate.forum/message', param)
  133. }