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