Commit 747be3ab by fukai

添加ISC-BASEDATA

parent 262bc48c
var baseData = {};
if (process.env.NODE_ENV === 'production') {//生产模式
baseData = {
//15.62.176.250:8088
"host": "",
//15.62.176.250:8088
"hostBusiness": "",
"hostPublic": "",
"hostReport": "",
"hostFinance": "",
"hostRemittance": "",
"hostLc": "",
"hostDomlc": "",
"hostCollection": "",
"hostDerivative": "",
"basePath": "/webapi",
"schemes": "",
"message": {
"isLoading": false,//全局通讯开启loading遮罩
"isEncrypt": false,//AES加密开关,默认false关闭
'signature': false,//开启mac校验放篡改,默认false关闭
"timeout": 300000,//超20秒会提示超时
"msgTipKey": 'errorMsg' //状态码500转200时,前端弹出错误信息。后台返回的错误信息属性名是什么,msgTipKey的属性值就填什么(如后台返回错误{errorCode: "XXL1042", errorMsg: "分片序列号和参数beanId不存在!"})
},
"useJsBridge": {
"flag": false,//生产接入pc OA,默认关闭,给true开启js桥连接方法
"useOrigType": false, //由于微服务app接入服务get方式请求前端需要传给原生的请求类型依旧为post,这个开关是控制是否依然使用原来的请求类型
"requestSource": "internetRequest", //'internetRequest'内网请求;'externalRequest'外网请求
"sc": "IAM165", //系统编码--每个系统是固定的
"operType": "0" //0为透传,1为接入服务
},
"isOpenDisabledCopy": "false",//是否开启禁用页面的“复制,打印,另存为”功能。可选值:"false"不开启禁用,"true"开启禁用所有页面,"routerConfig"开启禁用部分页面(需通过页面路由的meta中配置"isDisablePageOpt": true),"menuConfig"开启禁用部分页面(具体禁用哪些页面需要在系统的菜单分配中配置)。
}
} else {//开发模式
baseData = {
"host": "114.115.138.98:9391",
"hostAdmin": "114.115.138.98:9388",
"hostBusiness": "15.52.176.251:8083",
"hostFinance": "15.52.176.251:22002",
"hostRemittance": "15.52.176.251:22002",
"hostLc": "15.52.176.251:22002",
"hostDomlc": "15.52.176.251:22002",
"hostCollection": "15.52.176.251:22002",
"hostDerivative": "15.52.176.251:22002",
"hostPublic": "15.52.176.251:8081",
"hostReport": "127.0.0.1:8090",
"basePath": "/webapi",
"schemes": "http",
"message": {
"isLoading": false,//全局通讯开启loading遮罩
"isEncrypt": false,//AES加密开关,默认false关闭
'signature': false,//开启mac校验放篡改,默认false关闭
"timeout": 1000000,//超时
"msgTipKey": 'errorMsg'
},
"isOpenDisabledCopy": "false",//是否开启禁用页面的“复制,打印,另存为”功能。可选值:"false"不开启禁用,"true"开启禁用所有页面,"routerConfig"开启禁用部分页面(需通过页面路由的meta中配置"isDisablePageOpt": true),"menuConfig"开启禁用部分页面(具体禁用哪些页面需要在系统的菜单分配中配置)。
}
}
module.exports = baseData;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment