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",