inquire.js 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  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. }
  134. //圈子列表
  135. export function group_list(param){
  136. return request.post('/api/candidate.forum/group_list', param)
  137. }
  138. //发布帖子
  139. export function create_article(param){
  140. return request.post('/api/candidate.forum/create_article', param)
  141. }
  142. //创建圈子
  143. export function create_group(param){
  144. return request.post('/api/candidate.forum/create_group', param)
  145. }
  146. //查看通知
  147. export function view(param){
  148. return request.post('/api/candidate.notification/view', param)
  149. }
  150. //通知列表
  151. export function get_list(param){
  152. return request.post('/api/candidate.notification/get_list', param)
  153. }
  154. //推荐行业列表
  155. export function get_category_industry_recommend(param){
  156. return request.post('/api/commons/get_category_industry_recommend', param)
  157. }
  158. //推荐职业分类列表
  159. export function get_category_job_recommend(param){
  160. return request.post('/api/commons/get_category_job_recommend', param)
  161. }
  162. // 学位要求列表
  163. export function get_education(param){
  164. return request.post('/api/commons/get_education', param)
  165. }
  166. // 工作年限列表
  167. export function get_experience(param){
  168. return request.post('/api/commons/get_experience', param)
  169. }
  170. // 公司发展阶段列表
  171. export function get_company_stage(param){
  172. return request.post('/api/commons/get_company_stage', param)
  173. }
  174. // 公司发展阶段列表
  175. export function activityget_list(param){
  176. return request.post('/api/candidate.activity/get_list', param)
  177. }
  178. // 学校认证信息
  179. export function is_auth(param){
  180. return request.post('/api/candidate.activity/is_auth', param)
  181. }
  182. // 活动详情
  183. export function get_detail(param){
  184. return request.post('/api/candidate.activity/get_detail', param)
  185. }
  186. // 招聘列表
  187. export function get_company_list(param){
  188. return request.post('/api/candidate.activity/get_company_list', param)
  189. }
  190. // 招聘介绍
  191. export function get_company_detail(param){
  192. return request.post('/api/candidate.activity/get_company_detail', param)
  193. }
  194. // 招聘职位列表
  195. export function get_company_job_list(param){
  196. return request.post('/api/candidate.activity/get_company_job_list', param)
  197. }
  198. // 我的收藏列表
  199. export function collect_get_list(param){
  200. return request.post('/api/candidate.job_collect/get_list', param)
  201. }
  202. // 谁看过我列表
  203. export function browse_get_list(param){
  204. return request.post('/api/candidate.resume_browse/get_list', param)
  205. }
  206. // 修改手机号
  207. export function changemobile(param){
  208. return request.post('/api/candidate.user/changemobile', param)
  209. }
  210. // 重置密码
  211. export function resetpwd(param){
  212. return request.post('/api/candidate.user/resetpwd', param)
  213. }
  214. // 检验二维码
  215. export function check(param){
  216. return request.post('/api/sms/check', param)
  217. }
  218. // 协议详情
  219. export function get_agreement_detail(param){
  220. return request.post('/api/commons/get_agreement_detail', param)
  221. }
  222. // 资讯精选
  223. export function get_recommend(param){
  224. return request.post('/api/article/get_recommend', param)
  225. }
  226. // 资讯详情
  227. export function article_get_detail(param){
  228. return request.post('/api/article/get_detail', param)
  229. }
  230. // 广告列表
  231. export function get_ad_list(param){
  232. return request.post('/api/article/get_ad_list', param)
  233. }
  234. // 投递列表
  235. export function orderlist(param){
  236. return request.post('/api/candidate.order/list', param)
  237. }
  238. // 会员信息
  239. export function profile(param){
  240. return request.post('/api/candidate.user/profile', param)
  241. }
  242. // 行业列表
  243. export function get_category_industry(param){
  244. return request.post('/api/commons/get_category_industry', param)
  245. }
  246. // 规模列表
  247. export function get_company_scale(param){
  248. return request.post('/api/commons/get_company_scale', param)
  249. }
  250. //获取简历求职期望
  251. export function get_category_job_ids(param){
  252. return request.post('/api/candidate.job/get_category_job_ids', param)
  253. }
  254. //职业分类列表
  255. export function get_category_job(param){
  256. return request.post('/api/commons/get_category_job', param)
  257. }
  258. //完善简历
  259. export function create(param){
  260. return request.post('/api/candidate.resume/create', param)
  261. }
  262. //获取财务配置
  263. export function get_finance_config(param){
  264. return request.post('/api/commons/get_finance_config', param)
  265. }
  266. //订单详情
  267. export function order_detail(param){
  268. return request.post('/api/candidate.order/detail', param)
  269. }
  270. //获取用户银行卡信息
  271. export function getBank(param){
  272. return request.post('/api/candidate.user/getBank', param)
  273. }
  274. //我的佣金列表
  275. export function commission_list(param){
  276. return request.post('/api/candidate.order/commission_list', param)
  277. }
  278. //佣金数据
  279. export function commission_data(param){
  280. return request.post('/api/candidate.order/commission_data', param)
  281. }
  282. //发起提现
  283. export function withdraw(param){
  284. return request.post('/api/candidate.order/withdraw', param)
  285. }
  286. //设置银行账户信息
  287. export function setBank(param){
  288. return request.post('/api/candidate.user/setBank', param)
  289. }