董国庆
2026-01-06 9dd79783222db2fed1c025840c087133ae7e81a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const apiConfig = {
  // 开发环境
  development: {
    baseURL: "/",
    imgUrl: "/open/file/upload",
    // showImgUrl: "http://221.182.45.100:11222/",
    showImgUrl: "http://127.0.0.1:11222/images/",
  },
  // 生产环境
  production: {
    baseURL: "/laboratory",
    imgUrl: "/laboratory/open/file/upload",
    showImgUrl: "http://127.0.0.1:11222/images/",
  },
};
 
export default apiConfig[process.env.VUE_APP_ENV];