base.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. advertisingList(data) {
  35. return myRequest({
  36. url: '/app/common/base/advertising/list',
  37. method: 'get',
  38. data: data,
  39. noToken: true
  40. })
  41. },
  42. appCommonConfig(data) {
  43. return myRequest({
  44. url: '/app/common/config',
  45. method: 'get',
  46. data: data,
  47. noToken: true
  48. })
  49. },
  50. baseProfileStampV2AddWord(data) {
  51. return myRequest({
  52. url: '/base/profileStamp/V2/addWord',
  53. method: 'post',
  54. data: data
  55. })
  56. },
  57. baseHandoutTipList(data) {
  58. return myRequest({
  59. url: '/base/handout/tip/list',
  60. method: 'GET',
  61. data: data
  62. })
  63. },
  64. baseHandoutTip(data) {
  65. return myRequest({
  66. url: '/base/handout/tip',
  67. method: 'post',
  68. data: data
  69. })
  70. }
  71. }