base.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. import {
  2. myRequest
  3. } from '../request.js'
  4. export default {
  5. getProvinceList(data) {
  6. return myRequest({
  7. url: '/apply/areas/list',
  8. method: 'get',
  9. data: data
  10. })
  11. },
  12. getCityList(data) {
  13. return myRequest({
  14. url: '/apply/areas/cityList',
  15. method: 'get',
  16. data: data
  17. })
  18. },
  19. getExamine(data) {
  20. return myRequest({
  21. url: '/course/examine/list',
  22. method: 'get',
  23. data: data
  24. })
  25. },
  26. advertisingHomeLocation(data) {
  27. return myRequest({
  28. url: '/app/common/base/advertising/homeLocation',
  29. method: 'get',
  30. data: data,
  31. noToken: true
  32. })
  33. },
  34. advertisingLocation(data) {
  35. return myRequest({
  36. url: '/app/common/base/advertising/adLocation',
  37. method: 'get',
  38. data: data,
  39. noToken: true
  40. })
  41. },
  42. advertisingList(data) {
  43. return myRequest({
  44. url: '/app/common/base/advertising/list',
  45. method: 'get',
  46. data: data,
  47. noToken: true
  48. })
  49. },
  50. appCommonConfig(data) {
  51. return myRequest({
  52. url: '/app/common/config',
  53. method: 'get',
  54. data: data,
  55. noToken: true
  56. })
  57. },
  58. baseProfileStampV2AddWord(data) {
  59. return myRequest({
  60. url: '/base/profileStamp/V2/addWord',
  61. method: 'post',
  62. data: data
  63. })
  64. },
  65. baseHandoutTipList(data) {
  66. return myRequest({
  67. url: '/base/handout/tip/list',
  68. method: 'GET',
  69. data: data
  70. })
  71. },
  72. baseHandoutTip(data) {
  73. return myRequest({
  74. url: '/base/handout/tip',
  75. method: 'post',
  76. data: data
  77. })
  78. }
  79. }