inquire.js 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538
  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.get('/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/get_message_list', param)
  133. }
  134. //圈子列表
  135. export function group_list(param) {
  136. return request.post('/api/candidate.forum/group_list_mini', 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 upload(param) {
  220. return request.post('/api/common/upload', param)
  221. }
  222. // 协议详情
  223. export function get_agreement_detail(param) {
  224. return request.post('/api/commons/get_agreement_detail', param)
  225. }
  226. // 资讯精选
  227. export function get_recommend(param) {
  228. return request.post('/api/article/get_recommend', param)
  229. }
  230. // 全部
  231. export function article_get_list(param) {
  232. return request.post('/api/article/get_list', param)
  233. }
  234. // 资讯详情
  235. export function article_get_detail(param) {
  236. return request.post('/api/article/get_detail', param)
  237. }
  238. // 广告列表
  239. export function get_ad_list(param) {
  240. return request.post('/api/article/get_ad_list', param)
  241. }
  242. // 投递列表
  243. export function orderlist(param) {
  244. return request.post('/api/candidate.order/list', param)
  245. }
  246. // 会员信息
  247. export function profile(param) {
  248. return request.post('/api/candidate.user/profile', param)
  249. }
  250. // 行业列表
  251. export function get_category_industry(param) {
  252. return request.post('/api/commons/get_category_industry', param)
  253. }
  254. // 规模列表
  255. export function get_company_scale(param) {
  256. return request.post('/api/commons/get_company_scale', param)
  257. }
  258. //获取简历求职期望
  259. export function get_category_job_ids(param) {
  260. return request.post('/api/candidate.job/get_category_job_ids', param)
  261. }
  262. //职业分类列表
  263. export function get_category_job(param) {
  264. return request.post('/api/commons/get_category_job', param)
  265. }
  266. //完善简历
  267. export function create(param) {
  268. return request.post('/api/candidate.resume/create', param)
  269. }
  270. //获取财务配置
  271. export function get_finance_config(param) {
  272. return request.post('/api/commons/get_finance_config', param)
  273. }
  274. //订单详情
  275. export function order_detail(param) {
  276. return request.post('/api/candidate.order/detail', param)
  277. }
  278. //获取用户银行卡信息
  279. export function getBank(param) {
  280. return request.get('/api/candidate.user/getBank', param)
  281. }
  282. //我的佣金列表
  283. export function commission_list(param) {
  284. return request.post('/api/candidate.order/commission_list', param)
  285. }
  286. //佣金数据
  287. export function commission_data(param) {
  288. return request.post('/api/candidate.order/commission_data', param)
  289. }
  290. //发起提现
  291. export function withdraw(param) {
  292. return request.post('/api/candidate.order/withdraw', param)
  293. }
  294. //设置银行账户信息
  295. export function setBank(param) {
  296. return request.post('/api/candidate.user/setBank', param)
  297. }
  298. //简历详情
  299. export function resumeDetail(param) {
  300. return request.post('/api/candidate.resume/detail', param)
  301. }
  302. //求职状态列表
  303. export function get_job_status(param) {
  304. return request.post('/api/commons/get_job_status', param)
  305. }
  306. //数据更新
  307. export function update(param) {
  308. return request.post('/api/candidate.resume/update', param)
  309. }
  310. //删除
  311. export function destroy(param) {
  312. return request.post('/api/candidate.resume/destroy', param)
  313. }
  314. //语言列表
  315. export function get_language(param) {
  316. return request.post('/api/commons/get_language', param)
  317. }
  318. //语言等级列表
  319. export function get_language_level(param) {
  320. return request.post('/api/commons/get_language_level', param)
  321. }
  322. //首次绑定手机号
  323. export function third_mobile(param) {
  324. return request.post('/api/candidate.user/third_mobile', param)
  325. }
  326. //识别简历
  327. export function ocr(param) {
  328. return request.post('/api/candidate.resume/ocr', param)
  329. }
  330. //性别列表
  331. export function get_sex(param) {
  332. return request.post('/api/commons/get_sex', param)
  333. }
  334. //学生认证
  335. export function activityauth(param) {
  336. return request.post('/api/candidate.activity/auth', param)
  337. }
  338. //隐私设置
  339. export function private_setting(param) {
  340. return request.post('/api/candidate.user/private_setting', param)
  341. }
  342. //删除银行卡
  343. export function deleteBank(param) {
  344. return request.post('/api/candidate.user/deleteBank', param)
  345. }
  346. //删除银行卡
  347. export function refresh(param) {
  348. return request.post('/api/candidate.resume/refresh', param)
  349. }
  350. //常用语列表
  351. export function phraseList(param) {
  352. return request.post('/api/candidate.phrase/list', param)
  353. }
  354. //投递简历
  355. export function orderCreate(param) {
  356. return request.post('/api/candidate.order/create', param)
  357. }
  358. //订单反馈
  359. export function commission_feedback(param) {
  360. return request.post('/api/candidate.order/commission_feedback', param)
  361. }
  362. //付费求职
  363. export function pay(param) {
  364. return request.post('/api/candidate.order/pay', param)
  365. }
  366. //校招投递简历
  367. export function activityCreate(param) {
  368. return request.post('/api/candidate.activity/create', param)
  369. }
  370. //邀请列表
  371. export function invite_list(param) {
  372. return request.post('/api/candidate.user/invite_list', param)
  373. }
  374. //我的邀请人
  375. export function parent_info(param) {
  376. return request.post('/api/candidate.user/parent_info', param)
  377. }
  378. //接受面试
  379. export function interview_accept(param) {
  380. return request.post('/api/candidate.order/interview_accept', param)
  381. }
  382. //拒绝面试
  383. export function interview_refuse(param) {
  384. return request.post('/api/candidate.order/interview_refuse', param)
  385. }
  386. //接受offer
  387. export function offer_pass(param) {
  388. return request.post('/api/candidate.order/offer_pass', param)
  389. }
  390. //拒绝面试
  391. export function offer_refuse(param) {
  392. return request.post('/api/candidate.order/offer_refuse', param)
  393. }
  394. //编辑常用语
  395. export function phrase_update(param) {
  396. return request.post('/api/candidate.phrase/update', param)
  397. }
  398. //添加常用语
  399. export function phrase_create(param) {
  400. return request.post('/api/candidate.phrase/create', param)
  401. }
  402. //删除常用语
  403. export function phrase_destory(param) {
  404. return request.post('/api/candidate.phrase/destory', param)
  405. }
  406. //领域列表
  407. export function get_category_field(param) {
  408. return request.post('/api/commons/get_category_field', param)
  409. }
  410. //环信数据
  411. export function getEmchatUsersData(param) {
  412. return request.post('/api/candidate.user/getEmchatUsersData', param)
  413. }
  414. export function notification(param) {
  415. return request.post('/api/candidate.notification/view', param)
  416. }
  417. //删除圈子
  418. export function del_group(param) {
  419. return request.post('/api/candidate.forum/del_group', param)
  420. }
  421. //佣金日志列表
  422. export function commission_log_list(param) {
  423. return request.post('/api/candidate.order/commission_log_list', param)
  424. }
  425. // 论坛未读数量
  426. export function get_total_number(param) {
  427. return request.post('/api/candidate.forum/get_total_number', param)
  428. }
  429. // 接收聊天消息通知
  430. export function updateNotificationSwitch(param) {
  431. return request.post('/api/candidate.user/updateNotificationSwitch', param)
  432. }
  433. // 消息通知
  434. export function cget_total_number(param) {
  435. return request.post('/api/candidate.notification/get_total_number', param)
  436. }
  437. // 上传背景图
  438. export function edit_image(param) {
  439. return request.post('/api/candidate.forum/edit_image', param)
  440. }