董国庆
2026-01-22 ac63d8b6ea3125e7363e948988c0ac4b520ed0d6
peizhi
2个文件已修改
6 ■■■■■ 已修改文件
culture/src/utils/baseurl.js 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
laboratory/vue.config.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/utils/baseurl.js
@@ -1,8 +1,8 @@
const apiConfig = {
    // 开发环境
    development: {
        baseURL: "http://221.182.45.100:8081",
        imgUrl: "http://192.168.110.64:8081/open/file/upload",
        baseURL: "http://192.168.110.64:8082",
        imgUrl: "http://192.168.110.64:8082/open/file/upload",
        showImgUrl:'http://192.168.110.64:9998/'
    },
    // 生产环境
laboratory/vue.config.js
@@ -19,7 +19,7 @@
        },
      },
      "/": { // 设置以什么前缀开头的请求用来代理
          target: "http://221.182.45.100:11221", //要访问的跨域的域名
          target: "http://192.168.110.34:11221", //要访问的跨域的域名
          secure: false, // 使用的是http协议则设置为false,https协议则设置为true
          changeOrigin: true, //开启代理
          pathRewrite: {