packages.js 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. import requestWhite from '@/apis/utils/requestWhite'
  2. import request from '@/apis/utils/request'
  3. // 零工驿站 // /mobile/recruit/findRecruitSearch // status = 1
  4. // 发布共享用工信息
  5. export function createShareWork(data) {
  6. return request({
  7. method: 'post',
  8. data: data,
  9. url: '/mobile/recruit/createShareWork'
  10. })
  11. }
  12. export function findRecruitSearch(data) {
  13. return requestWhite({
  14. method: 'post',
  15. data: data,
  16. url: '/mobile/recruit/findRecruitSearch'
  17. })
  18. }
  19. export function newsList(data) {
  20. return requestWhite({
  21. method: 'post',
  22. data: data,
  23. url: '/mobile/news/newsList'
  24. })
  25. }
  26. export function newsDetail(data) {
  27. return requestWhite({
  28. method: 'post',
  29. data: data,
  30. url: '/mobile/news/newsDetail'
  31. })
  32. }
  33. export function shareWorksDetail(data) {
  34. return requestWhite({
  35. method: 'post',
  36. data: data,
  37. url: '/mobile/news/shareWorksDetail'
  38. })
  39. }
  40. export function shareWorksList(data) {
  41. return requestWhite({
  42. method: 'post',
  43. data: data,
  44. url: '/mobile/news/shareWorksList'
  45. })
  46. }
  47. export function trainingDetail(data) {
  48. return requestWhite({
  49. method: 'post',
  50. data: data,
  51. url: '/mobile/news/trainingDetail'
  52. })
  53. }
  54. export function trainingList(data) {
  55. return requestWhite({
  56. method: 'post',
  57. data: data,
  58. url: '/mobile/news/trainingList'
  59. })
  60. }
  61. export function uploadPicture(data) {
  62. return requestWhite({
  63. method: 'post',
  64. data: data,
  65. url: '/uploadPicture'
  66. })
  67. }
  68. export function createJobHunt(data) {
  69. return request({
  70. method: 'post',
  71. data: data,
  72. url: '/mobile/job/createJobHunt'
  73. })
  74. }
  75. export function createRecruit(data) {
  76. return request({
  77. method: 'post',
  78. data: data,
  79. url: '/mobile/recruit/createRecruit'
  80. })
  81. }
  82. export function recruitDetail(data) {
  83. return requestWhite({
  84. method: 'post',
  85. data: data,
  86. url: '/mobile/recruit/recruitDetail'
  87. })
  88. }
  89. export function myJobHunt(data) {
  90. return request({
  91. method: 'post',
  92. data: data,
  93. url: '/mobile/job/myJobHunt'
  94. })
  95. }
  96. export function joinRecruit(data) {
  97. return request({
  98. method: 'post',
  99. data: data,
  100. url: '/mobile/job/joinRecruit'
  101. })
  102. }
  103. export function myEmployment(data) {
  104. return request({
  105. method: 'post',
  106. data: data,
  107. url: '/mobile/recruit/myEmployment'
  108. })
  109. }
  110. export function myEmploymentDelete(data) {
  111. return request({
  112. method: 'post',
  113. data: data,
  114. url: '/mobile/recruit/myEmploymentDelete'
  115. })
  116. }
  117. export function myEmploymentRefresh(data) {
  118. return request({
  119. method: 'post',
  120. data: data,
  121. url: '/mobile/recruit/myEmploymentRefresh'
  122. })
  123. }
  124. export function myReceivedRegistration(data) {
  125. return request({
  126. method: 'post',
  127. data: data,
  128. url: '/mobile/recruit/myReceivedRegistration'
  129. })
  130. }