From 2708c5442cff4e11c0dcee69483f33f31b50e3c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E9=B9=8F?= <2916022834@qq.com> Date: Fri, 24 Apr 2026 13:07:06 +0800 Subject: [PATCH] 12 --- src/tool/https.js | 2 +- vite.config.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/tool/https.js b/src/tool/https.js index 8997c453..4d185c9e 100644 --- a/src/tool/https.js +++ b/src/tool/https.js @@ -474,7 +474,7 @@ export const Https = { // 卖家端接口 - + checkSellerDesigner: '/seller/designer/check', // 检查卖家是否为设计师 }, axiosGet(url, config) { diff --git a/vite.config.js b/vite.config.js index 5296ef6a..88753273 100644 --- a/vite.config.js +++ b/vite.config.js @@ -93,6 +93,12 @@ export default defineConfig(({ mode }) => { target: baseURL, rewrite: (path) => path.replace(/^\/api/, "/aida/api"), changeOrigin: true, + }, + "/seller": { + // target: 'https://develop.api.aida.com.hk', + target: baseURL, + rewrite: (path) => path.replace(/^\/seller/, "/seller"), + changeOrigin: true, }, "/xupei": { target: "http://192.168.1.7:5567",