From 7045ca2f6b6bcbc3987e388bf0b25281c250ccf5 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 19 四月 2024 18:09:00 +0800 Subject: [PATCH] srm 新增编辑供应商,启用停用创建账号获取和保存企业/信用等级/供货范围 ,等大概7个接口的联调 --- vue.config.js | 20 +++++++++++++++++--- 1 files changed, 17 insertions(+), 3 deletions(-) diff --git a/vue.config.js b/vue.config.js index 5436c86..db22398 100644 --- a/vue.config.js +++ b/vue.config.js @@ -13,11 +13,25 @@ productionSourceMap: false, // 濡傛灉浣犱笉闇�瑕佺敓浜х幆澧冪殑source map, 鍙互灏嗗叾璁剧疆涓篺alse 浠ュ姞閫熺敓浜х幆澧冩瀯寤� devServer: { proxy: { - "/api": { - target: "http://192.168.20.118:8889", // http://192.168.20.119:8002 http://fai365.com:30150/ + "/api/menu":{ + target:"http://192.168.20.119:8001", ws: true, changeOrigin: true - } + }, + "/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", + // target: "http://192.168.20.119:8004", // http://192.168.20.119:8004 http://fai365.com:30150/ + 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