user.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. import request from "@/utils/request"
  2. // 获取用户基本信息
  3. export const getUserInfo = (params) => {
  4. return request({
  5. url: '/menduner/system/person/get',
  6. method: 'GET',
  7. params,
  8. custom: {
  9. showLoading: false,
  10. auth: true
  11. }
  12. })
  13. }
  14. // 获取附件列表
  15. export const getPersonResumeCv = () => {
  16. return request({
  17. url: '/menduner/system/person/resume/get/person/cv',
  18. method: 'GET',
  19. custom: {
  20. showLoading: false,
  21. auth: true
  22. }
  23. })
  24. }
  25. // 获取收藏的招聘职位列表
  26. export const getJobFavoriteList = (params) => {
  27. return request({
  28. url: '/menduner/system/person/get/job/favorite/page',
  29. method: 'GET',
  30. params,
  31. custom: {
  32. showLoading: false,
  33. auth: true
  34. }
  35. })
  36. }
  37. // 谁看过我
  38. export const getInterestedMePage = (params) => {
  39. return request({
  40. url: '/menduner/system/job-cv-rel/look/page',
  41. method: 'GET',
  42. params,
  43. custom: {
  44. showLoading: false,
  45. auth: true
  46. }
  47. })
  48. }
  49. // 众聘比例信息
  50. export const getPublicRatio = () => {
  51. return request({
  52. url: '/menduner/system/hire-commission-ratio/get',
  53. method: 'GET',
  54. custom: {
  55. showLoading: false,
  56. auth: false
  57. }
  58. })
  59. }