From fe95d034e69c59d3e1a003615a65a0fb945ba55f Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 25 四月 2024 17:07:57 +0800 Subject: [PATCH] 获取供应商对应产品的列表接口修改和联调+获取产品相关供应商的接口修改和联调 --- vue.config.js | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 49ac2a0..db22398 100644 --- a/vue.config.js +++ b/vue.config.js @@ -13,11 +13,25 @@ productionSourceMap: false, // 濡傛灉浣犱笉闇�瑕佺敓浜х幆澧冪殑source map, 鍙互灏嗗叾璁剧疆涓篺alse 浠ュ姞閫熺敓浜х幆澧冩瀯寤� devServer: { proxy: { - "/api": { + "/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