help.js 763 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import request from '@/utils/request'
  2. // 我的申请帮扶列表
  3. export function getMyHelpApplyList(data) {
  4. return request({
  5. url: '/api/help/applylst',
  6. method: 'get',
  7. data
  8. })
  9. }
  10. // 获取帮扶列表
  11. export function getHelpList(data) {
  12. return request({
  13. url: '/api/help/index',
  14. method: 'get',
  15. data
  16. })
  17. }
  18. // 获取帮扶分类
  19. export function getHelpIfy(data) {
  20. return request({
  21. url: '/api/help/ify',
  22. method: 'get',
  23. data
  24. })
  25. }
  26. // 帮扶详情
  27. export function getHelpDetail(data,id) {
  28. return request({
  29. url: '/api/help/view?id='+ id,
  30. method: 'get',
  31. data
  32. })
  33. }
  34. // 申请帮扶
  35. export function userApply(data) {
  36. return request({
  37. url: '/api/help/userapply',
  38. method: 'post',
  39. data
  40. })
  41. }