董国庆
7 天以前 3c38a9fbad595a4c35d5928f77ccfc9cfa5e3f58
laboratory/src/utils/baseurl.js
@@ -1,14 +1,16 @@
const apiConfig = {
    // 开发环境
    development: {
        baseURL: "/",
        imgUrl: "/open/file/upload",
        showImgUrl: 'http://221.182.45.100:11222/',
    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: "",
        imgUrl: "",
    baseURL: "/laboratory",
    imgUrl: "http://127.0.0.1:11222/laboratory/open/file/upload",
    showImgUrl: "http://127.0.0.1:11222/",
    },
};