index.js 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. import http from "@/utils/request";
  2. import config from "@/config"
  3. export default {
  4. login : {
  5. VerifyLogin : {
  6. url:`${config.baseUrl}/Mobile/VerifyLogin`,
  7. name:'免登',
  8. post : function(params){
  9. return http.post(this.url,params)
  10. }
  11. }
  12. },
  13. my: {
  14. BannerImg : {
  15. url:`${config.baseUrl}/banner/bannerImg/list`,
  16. name:'轮播图',
  17. get : function(params){
  18. return http.get(this.url,params)
  19. }
  20. },
  21. SelectColor : {
  22. url:`${config.baseUrl}/selectapp/selectColor/list`,
  23. name:'主题颜色',
  24. get : function(params){
  25. return http.get(this.url,params)
  26. }
  27. },
  28. OrderList : {
  29. url:`${config.baseUrl}/Mobile/OrderList`,
  30. name:'测试',
  31. get : function(params){
  32. return http.get(this.url,params)
  33. }
  34. },
  35. OrderDetails : {
  36. url:`${config.baseUrl}/api/accountApi/gettIsDealCount`,
  37. name:'测试',
  38. get : function(params){
  39. return http.get(this.url,params)
  40. }
  41. }
  42. },
  43. activityMan : {
  44. siteInspectionList : {
  45. url:`${config.baseUrl}/csjcqk/siteInspection/list`,
  46. name:'测试',
  47. get : function(params){
  48. return http.get(this.url,params)
  49. }
  50. }
  51. },
  52. yin : {
  53. TokenLogin : {
  54. url:`${config.baseUrl}/yzt/Login`,
  55. name:'测试',
  56. get : function(params){
  57. return http.get(this.url,params)
  58. }
  59. },
  60. SchemaService : {
  61. url:`${config.baseUrl}/SchemaService`,
  62. name:'测试用户同步规则',
  63. post : function(params){
  64. return http.post(this.url,params)
  65. }
  66. },
  67. UserCreateService : {
  68. url:`${config.baseUrl}/UserCreateService`,
  69. name:'测试用户新建',
  70. post : function(params){
  71. return http.post(this.url,params)
  72. }
  73. },
  74. UserUpdateService : {
  75. url:`${config.baseUrl}/UserUpdateService`,
  76. name:'测试用户更新',
  77. post : function(params){
  78. return http.post(this.url,params)
  79. }
  80. },
  81. UserDeleteService : {
  82. url:`${config.baseUrl}/UserDeleteService`,
  83. name:'测试用户删除',
  84. post : function(params){
  85. return http.post(this.url,params)
  86. }
  87. }
  88. },
  89. }