applyHelp.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. import request from '@/utils/request'
  2. // 获取商品一级分类
  3. export function getList(data) {
  4. return request({
  5. url: '/api/category',
  6. method: 'get',
  7. data
  8. });
  9. }
  10. export function gethelp(data) {
  11. return request({
  12. url: '/api/get_help',
  13. method: 'get',
  14. data
  15. });
  16. }
  17. export function helpdetail(data) {
  18. return request({
  19. url: '/api/help_detail',
  20. method: 'get',
  21. data
  22. });
  23. }
  24. // 获取详情
  25. export function one_detail(data) {
  26. return request({
  27. url: '/api/one_detail',
  28. method: 'get',
  29. data
  30. });
  31. }
  32. // 申请援助
  33. export function enroll(data) {
  34. return request({
  35. url: '/api/enroll',
  36. method: 'get',
  37. data
  38. });
  39. }
  40. // 我的申请
  41. export function my_enroll(data) {
  42. return request({
  43. url: '/api/my_enroll',
  44. method: 'get',
  45. data
  46. });
  47. }
  48. // 上传
  49. export function means(data) {
  50. return request({
  51. url: '/api/means',
  52. method: 'post',
  53. data
  54. });
  55. }
  56. // 帮扶公示
  57. export function bangfu(data) {
  58. return request({
  59. url: '/api/means',
  60. method: 'post',
  61. data
  62. });
  63. }
  64. // 帮扶详情-公示
  65. export function gonghsi(data) {
  66. return request({
  67. url: '/api/means',
  68. method: 'post',
  69. data
  70. });
  71. }
  72. // 获取上传资料
  73. export function get_means(data) {
  74. return request({
  75. url: '/api/get_means',
  76. method: 'get',
  77. data
  78. });
  79. }