diff --git a/http/yskApi/http.js b/http/yskApi/http.js index 96e97d5..81590ba 100644 --- a/http/yskApi/http.js +++ b/http/yskApi/http.js @@ -17,7 +17,10 @@ import infoBox from "@/commons/utils/infoBox.js" import go from '@/commons/utils/go.js'; // 测试服 let baseUrl = 'https://admintestpapi.sxczgkj.cn' -// let baseUrl = 'http://192.168.1.15:8000' + +//预发布 +// let baseUrl = 'https://pre-cashieradmin.sxczgkj.cn' + // 王伟本地测 // let baseUrl = '/ww' // let baseUrl = 'http://192.168.1.15:8000' diff --git a/manifest.json b/manifest.json index a2393a0..064baed 100644 --- a/manifest.json +++ b/manifest.json @@ -213,6 +213,15 @@ "/ysk" : "" } }, + "/yufabu" : { + // 需要被代理的后台地址 + "target" : "https://pre-cashier.sxczgkj.cn", + "changeOrigin" : true, + "secure" : false, + "pathRewrite" : { + "/yufabu" : "" + } + }, "/ww" : { // 需要被代理的后台地址 "target" : "http://192.168.1.15:8000",