From b108849a100c1c487ed3172aea296d61f4ac5e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Fri, 13 Feb 2026 19:10:03 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E6=9B=B4=E6=96=B0API=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=9C=B0=E5=9D=80=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将API接口域名从 mp-api.websoft.top 更改为 glt-api.websoft.top - 注释掉本地开发服务器地址配置 - 移除未使用的 openNew 工具函数导入 - 统一多个页面中的二维码生成接口地址变更 --- .env.development | 4 ++-- src/views/shop/dashboard/index.vue | 1 - src/views/shop/shopDealerUser/index.vue | 2 +- src/views/shop/shopDealerUserDelivery/index.vue | 2 +- src/views/shop/shopDealerUserShop/index.vue | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.env.development b/.env.development index fbcc74b..5f14a43 100644 --- a/.env.development +++ b/.env.development @@ -1,6 +1,6 @@ VITE_APP_NAME=后台管理(开发环境) -VITE_API_URL=http://127.0.0.1:9200/api +#VITE_API_URL=http://127.0.0.1:9200/api #VITE_SERVER_API_URL=http://127.0.0.1:8000/api -#VITE_API_URL=https://cms-api.s209.websoft.top/api +VITE_API_URL=https://glt-api.websoft.top/api diff --git a/src/views/shop/dashboard/index.vue b/src/views/shop/dashboard/index.vue index 0b8e886..4a7cc55 100644 --- a/src/views/shop/dashboard/index.vue +++ b/src/views/shop/dashboard/index.vue @@ -213,7 +213,6 @@ MoneyCollectOutlined } from '@ant-design/icons-vue'; import { message } from 'ant-design-vue/es'; - import { openNew } from '@/utils/common'; import { useSiteStore } from '@/store/modules/site'; import { useStatisticsStore } from '@/store/modules/statistics'; import { storeToRefs } from 'pinia'; diff --git a/src/views/shop/shopDealerUser/index.vue b/src/views/shop/shopDealerUser/index.vue index d7d858a..f1d222c 100644 --- a/src/views/shop/shopDealerUser/index.vue +++ b/src/views/shop/shopDealerUser/index.vue @@ -111,7 +111,7 @@ const loading = ref(true); const getQrCodeUrl = (userId?: number) => { - return `https://mp-api.websoft.top/api/wx-login/getOrderQRCodeUnlimited/uid_${userId ?? ''}`; + return `https://glt-api.websoft.top/api/wx-login/getOrderQRCodeUnlimited/uid_${userId ?? ''}`; }; const openQrCode = (row: ShopDealerUser) => { diff --git a/src/views/shop/shopDealerUserDelivery/index.vue b/src/views/shop/shopDealerUserDelivery/index.vue index c304209..9a2ed56 100644 --- a/src/views/shop/shopDealerUserDelivery/index.vue +++ b/src/views/shop/shopDealerUserDelivery/index.vue @@ -114,7 +114,7 @@ const loading = ref(true); const getQrCodeUrl = (userId?: number) => { - return `https://mp-api.websoft.top/api/wx-login/getOrderQRCodeUnlimited/uid_${userId ?? ''}`; + return `https://glt-api.websoft.top/api/wx-login/getOrderQRCodeUnlimited/uid_${userId ?? ''}`; }; const openQrCode = (row: ShopDealerUser) => { diff --git a/src/views/shop/shopDealerUserShop/index.vue b/src/views/shop/shopDealerUserShop/index.vue index 5661a56..279c7b4 100644 --- a/src/views/shop/shopDealerUserShop/index.vue +++ b/src/views/shop/shopDealerUserShop/index.vue @@ -114,7 +114,7 @@ const loading = ref(true); const getQrCodeUrl = (userId?: number) => { - return `https://mp-api.websoft.top/api/wx-login/getOrderQRCodeUnlimited/uid_${userId ?? ''}`; + return `https://glt-api.websoft.top/api/wx-login/getOrderQRCodeUnlimited/uid_${userId ?? ''}`; }; const openQrCode = (row: ShopDealerUser) => {