lrf před 1 rokem
rodič
revize
bcd5644818
56 změnil soubory, kde provedl 32520 přidání a 64 odebrání
  1. 1 1
      .env
  2. 32448 0
      package-lock.json
  3. 1 1
      src/store/module/dev/dictData.js
  4. 1 1
      src/store/module/dev/dictIndex.js
  5. 1 1
      src/store/module/dev/menus.js
  6. 1 1
      src/store/module/dev/role.js
  7. 1 1
      src/store/module/group/goodsConfig.js
  8. 1 1
      src/store/module/group/group.js
  9. 1 1
      src/store/module/group/groupAfterSale.js
  10. 1 1
      src/store/module/group/groupOrder.js
  11. 1 1
      src/store/module/group/groupTransport.js
  12. 1 1
      src/store/module/group/salesTransport.js
  13. 1 1
      src/store/module/message/chatRecord.js
  14. 1 1
      src/store/module/message/room.js
  15. 1 1
      src/store/module/shop/afterSale.js
  16. 1 1
      src/store/module/shop/getTransportInfo.js
  17. 1 1
      src/store/module/shop/giveCoupon.js
  18. 1 1
      src/store/module/shop/goods.js
  19. 1 1
      src/store/module/shop/goodsRate.js
  20. 1 1
      src/store/module/shop/goodsSpec.js
  21. 1 1
      src/store/module/shop/selfShop.js
  22. 1 1
      src/store/module/shop/serviceContact.js
  23. 1 1
      src/store/module/shop/shop.js
  24. 1 1
      src/store/module/shop/shopNotice.js
  25. 1 1
      src/store/module/statistics/getBill.js
  26. 1 1
      src/store/module/statistics/outBill.js
  27. 1 1
      src/store/module/statistics/sellTotal.js
  28. 1 1
      src/store/module/statistics/shopCashOut.js
  29. 1 1
      src/store/module/statistics/shopInBill.js
  30. 1 1
      src/store/module/statistics/todo.js
  31. 1 1
      src/store/module/system/actTags.js
  32. 1 1
      src/store/module/system/admin.js
  33. 1 1
      src/store/module/system/banner.js
  34. 1 1
      src/store/module/system/config.js
  35. 1 1
      src/store/module/system/goodsJoinAct.js
  36. 1 1
      src/store/module/system/goodsSet.js
  37. 1 1
      src/store/module/system/goodsTags.js
  38. 1 1
      src/store/module/system/indexModule.js
  39. 1 1
      src/store/module/system/platformAct.js
  40. 1 1
      src/store/module/trade/cashOut.js
  41. 1 1
      src/store/module/trade/coupon.js
  42. 1 1
      src/store/module/trade/order.js
  43. 1 1
      src/store/module/trade/orderDetail.js
  44. 1 1
      src/store/module/trade/sot.js
  45. 1 1
      src/store/module/trade/viewOrder.js
  46. 1 1
      src/store/module/user/action.js
  47. 1 1
      src/store/module/user/address.js
  48. 1 1
      src/store/module/user/cashBack.js
  49. 1 1
      src/store/module/user/msgList.js
  50. 1 1
      src/store/module/user/notice.js
  51. 1 1
      src/store/module/user/userleader.js
  52. 1 1
      src/store/module/user/users.js
  53. 1 1
      src/store/module/zr/zrGoods.js
  54. 1 1
      src/store/module/zr/zrOrder.js
  55. 1 1
      src/store/module/zr/zrSot.js
  56. 18 10
      vue.config.js

+ 1 - 1
.env

@@ -1,5 +1,5 @@
 VUE_APP_AXIOS_BASE_URL = ''
-VUE_APP_ROUTER="shoppingAdmin"
+VUE_APP_ROUTER="shoppingOneAdmin"
 VUE_APP_HOST="https://broadcast.waityou24.cn"
 VUE_APP_PAGE_SIZE=50
 

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 32448 - 0
package-lock.json


+ 1 - 1
src/store/module/dev/dictData.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/dictData',
+  url: '/point/one/v1/api/dictData',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/dev/dictIndex.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/dictIndex',
+  url: '/point/one/v1/api/dictIndex',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/dev/menus.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/menus',
+  url: '/point/one/v1/api/menus',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/dev/role.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/role',
+  url: '/point/one/v1/api/role',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/group/goodsConfig.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/group/v1/api/goodsConfig',
+  url: '/point/one/group/v1/api/goodsConfig',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/group/group.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/group/v1/api/group',
+  url: '/point/one/group/v1/api/group',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/group/groupAfterSale.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/group/v1/api/groupAfterSale',
+  url: '/point/one/group/v1/api/groupAfterSale',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/group/groupOrder.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/group/v1/api/groupOrder',
+  url: '/point/one/group/v1/api/groupOrder',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/group/groupTransport.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/group/v1/api/orderOthers/transport',
+  url: '/point/one/group/v1/api/orderOthers/transport',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/group/salesTransport.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/group/v1/api/orderOthers/afterSale/transport',
+  url: '/point/one/group/v1/api/orderOthers/afterSale/transport',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/message/chatRecord.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/chat/v1/api/chatRecord',
+  url: '/point/one/chat/v1/api/chatRecord',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/message/room.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/chat/v1/api/room',
+  url: '/point/one/chat/v1/api/room',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/shop/afterSale.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/afterSale',
+  url: '/point/one/v1/api/afterSale',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/shop/getTransportInfo.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/afterSale/getTransportInfo',
+  url: '/point/one/v1/api/afterSale/getTransportInfo',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/shop/giveCoupon.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/userCoupon/giveCoupon',
+  url: '/point/one/v1/api/userCoupon/giveCoupon',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/shop/goods.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/goods',
+  url: '/point/one/v1/api/goods',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/shop/goodsRate.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/goodsRate',
+  url: '/point/one/v1/api/goodsRate',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/shop/goodsSpec.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/goodsSpec',
+  url: '/point/one/v1/api/goodsSpec',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/shop/selfShop.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/selfShop',
+  url: '/point/one/v1/api/selfShop',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/shop/serviceContact.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/serviceContact',
+  url: '/point/one/v1/api/serviceContact',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/shop/shop.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/shop',
+  url: '/point/one/v1/api/shop',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/shop/shopNotice.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/shopNotice',
+  url: '/point/one/v1/api/shopNotice',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/statistics/getBill.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/statistics/bill/getBill',
+  url: '/point/one/v1/api/statistics/bill/getBill',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/statistics/outBill.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/statistics/bill/outBill',
+  url: '/point/one/v1/api/statistics/bill/outBill',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/statistics/sellTotal.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/statistics/admin/sellTotal',
+  url: '/point/one/v1/api/statistics/admin/sellTotal',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/statistics/shopCashOut.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/shopCashOut',
+  url: '/point/one/v1/api/shopCashOut',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/statistics/shopInBill.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/shopInBill',
+  url: '/point/one/v1/api/shopInBill',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/statistics/todo.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/statistics/admin/todo',
+  url: '/point/one/v1/api/statistics/admin/todo',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/system/actTags.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/actTags',
+  url: '/point/one/v1/api/actTags',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/system/admin.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/admin',
+  url: '/point/one/v1/api/admin',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/system/banner.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/banner',
+  url: '/point/one/v1/api/banner',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/system/config.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/config',
+  url: '/point/one/v1/api/config',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/system/goodsJoinAct.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/goodsJoinAct',
+  url: '/point/one/v1/api/goodsJoinAct',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/system/goodsSet.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/goodsSet',
+  url: '/point/one/v1/api/goodsSet',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/system/goodsTags.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/goodsTags',
+  url: '/point/one/v1/api/goodsTags',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/system/indexModule.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/indexModule',
+  url: '/point/one/v1/api/indexModule',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/system/platformAct.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/platformAct',
+  url: '/point/one/v1/api/platformAct',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/trade/cashOut.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/cashOut',
+  url: '/point/one/v1/api/cashOut',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/trade/coupon.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/coupon',
+  url: '/point/one/v1/api/coupon',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/trade/order.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/order',
+  url: '/point/one/v1/api/order',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/trade/orderDetail.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/orderDetail',
+  url: '/point/one/v1/api/orderDetail',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/trade/sot.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/orderDetail/sot',
+  url: '/point/one/v1/api/orderDetail/sot',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/trade/viewOrder.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/viewOrder',
+  url: '/point/one/v1/api/viewOrder',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/user/action.js

@@ -2,7 +2,7 @@ import Vue from 'vue';
 import Vuex from 'vuex';
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/admin',
+  url: '/point/one/v1/api/admin',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/user/address.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/address',
+  url: '/point/one/v1/api/address',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/user/cashBack.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/cashBack',
+  url: '/point/one/v1/api/cashBack',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/user/msgList.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/notice/msgList',
+  url: '/point/one/v1/api/notice/msgList',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/user/notice.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/notice',
+  url: '/point/one/v1/api/notice',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/user/userleader.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/userleader',
+  url: '/point/one/v1/api/userleader',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/user/users.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/v1/api/user',
+  url: '/point/one/v1/api/user',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/zr/zrGoods.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/zr/v1/api/zrGoods',
+  url: '/point/one/zr/v1/api/zrGoods',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/zr/zrOrder.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/zr/v1/api/zrOrder',
+  url: '/point/one/zr/v1/api/zrOrder',
 };
 
 const state = () => ({});

+ 1 - 1
src/store/module/zr/zrSot.js

@@ -3,7 +3,7 @@ import Vuex from 'vuex';
 const _ = require('lodash');
 Vue.use(Vuex);
 const api = {
-  url: '/point/zr/v1/api/zrOrder/sot',
+  url: '/point/one/zr/v1/api/zrOrder/sot',
 };
 
 const state = () => ({});

+ 18 - 10
vue.config.js

@@ -24,40 +24,40 @@ module.exports = {
       '/files': {
         target: 'https://broadcast.waityou24.cn',
       },
-      '/dev/point/v1/api': {
-        target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
+      '/dev/point/one/v1/api': {
+        target: 'http://192.168.1.113:12211', // 127.0.0.1:13003
         changeOrigin: true,
         ws: false,
       },
-      '/point/v1/api': {
+      '/point/one/v1/api': {
         target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
         changeOrigin: true,
         ws: false,
       },
       // 团购
-      '/point/group/v1/api': {
+      '/point/one/group/v1/api': {
         target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
         changeOrigin: true,
         ws: false,
       },
-      '/dev/point/group/v1/api': {
-        target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
+      '/dev/point/one/group/v1/api': {
+        target: 'http://192.168.1.113:12213', // 127.0.0.1:13003
         changeOrigin: true,
         ws: false,
       },
       // 聊天
-      '/point/chat/v1/api': {
+      '/point/one/chat/v1/api': {
         target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
         changeOrigin: true,
         ws: false,
       },
-      '/dev/point/chat/v1/api': {
-        target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
+      '/dev/point/one/chat/v1/api': {
+        target: 'http://192.168.1.113:12214', // 127.0.0.1:13003
         changeOrigin: true,
         ws: false,
       },
       // 尊荣
-      '/dev/point/zr/v1/api': {
+      '/point/one/zr/v1/api': {
         target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
         changeOrigin: true,
         ws: false,
@@ -65,6 +65,14 @@ module.exports = {
         //   '^/dev/point/zr/v1/api': '/point/zr/v1/api',
         // },
       },
+      '/dev/point/one/zr/v1/api': {
+        target: 'http://192.168.1.113:12212', // 127.0.0.1:13003
+        changeOrigin: true,
+        ws: false,
+        // pathRewrite: {
+        //   '^/dev/point/zr/v1/api': '/point/zr/v1/api',
+        // },
+      },
     },
   },
 };