ZhangXianQiang
2024-03-15 9a5ad4f42f936fa5b36cd039a670d36e6f70a568
src/config/UtilVar.ts
@@ -6,7 +6,7 @@
}
const UtilVar:UtilVarType = {
    baseUrl:"",
    baseUrl:"/api",
    code:401, //登陆过期
    noContentCode:204, //请求成功但没有内容
    ENC:false,
@@ -15,11 +15,12 @@
const runtimeType:any = {
    production: () => {
        UtilVar.baseUrl = '';
    },
    //开发环境
    development: () => {
        // UtilVar.baseUrl= `http://www.xihuanmantou.cn:19527`
        UtilVar.baseUrl = '/api';
    },
    hash:()=>{