From eac6786d7a001f9722024582539baf806ab1f248 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 26 四月 2024 17:10:40 +0800 Subject: [PATCH] 供应商查询产品的接口回退 --- vue.config.js | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 34f3333..db22398 100644 --- a/vue.config.js +++ b/vue.config.js @@ -18,7 +18,7 @@ ws: true, changeOrigin: true }, - "/api": { + "/api-srm": { // target: "http://192.168.20.118:8889", // http://192.168.20.119:8002 http://fai365.com:30150/ // target: "http://192.168.20.120:8004", @@ -26,7 +26,12 @@ target: "http://192.168.20.119:8004", // http://192.168.20.119:8004 http://fai365.com:30150/ ws: true, changeOrigin: true - } + }, + "/api":{ + target:"http://192.168.20.119:8001", + ws: true, + changeOrigin: true + }, } }, transpileDependencies: [ -- Gitblit v1.8.0