|
|
@ -4,7 +4,8 @@ import Cookie from './cookie';
|
|
|
|
import PublicFn from './public';
|
|
|
|
import PublicFn from './public';
|
|
|
|
import interfaceConfig from './axios-config';
|
|
|
|
import interfaceConfig from './axios-config';
|
|
|
|
import Base64 from './base64'
|
|
|
|
import Base64 from './base64'
|
|
|
|
|
|
|
|
const isSZUpload = true;
|
|
|
|
|
|
|
|
PublicFn.isSZUpload = isSZUpload;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 配置信息 - 公共方法
|
|
|
|
* 配置信息 - 公共方法
|
|
|
|
* @type {{}}
|
|
|
|
* @type {{}}
|
|
|
@ -106,9 +107,15 @@ const ConfigFn = {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
let _person_info_my = {};
|
|
|
|
let _person_info_my = {};
|
|
|
|
// 请求接口路径
|
|
|
|
// 请求接口路径
|
|
|
|
|
|
|
|
let url = "";
|
|
|
|
|
|
|
|
if(isSZUpload){
|
|
|
|
|
|
|
|
url = "intellioa/sys/cloudPlatform/getPersonInfo";
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
url = "person/getPersonInfo";
|
|
|
|
|
|
|
|
}
|
|
|
|
interfaceConfig.callInterface([{
|
|
|
|
interfaceConfig.callInterface([{
|
|
|
|
//url: "person/getPersonInfo",
|
|
|
|
//url: "person/getPersonInfo",
|
|
|
|
url: "intellioa/sys/cloudPlatform/getPersonInfo",
|
|
|
|
url: url,
|
|
|
|
method: "get",
|
|
|
|
method: "get",
|
|
|
|
params: _param,
|
|
|
|
params: _param,
|
|
|
|
isTestLogin: true
|
|
|
|
isTestLogin: true
|
|
|
@ -289,7 +296,11 @@ const ConfigFn = {
|
|
|
|
BaseConfig.url_path_down = BaseConfig.url_path_html + "/html/";// demo:/dsideal_yy/html/
|
|
|
|
BaseConfig.url_path_down = BaseConfig.url_path_html + "/html/";// demo:/dsideal_yy/html/
|
|
|
|
//局版资源上传路径 周枫
|
|
|
|
//局版资源上传路径 周枫
|
|
|
|
BaseConfig.url_path_suffix = "down/Material/";
|
|
|
|
BaseConfig.url_path_suffix = "down/Material/";
|
|
|
|
BaseConfig.url_path = BaseConfig.url_path_action_login + "/res/plupload/";
|
|
|
|
if(isSZUpload){
|
|
|
|
|
|
|
|
BaseConfig.url_path = BaseConfig.url_path_action_login + "/dsideal_yy/ypt/intellioa/java/sys/cloudPlatform/plupload";
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
BaseConfig.url_path = BaseConfig.url_path_action_login + "/res/plupload/";
|
|
|
|
|
|
|
|
}
|
|
|
|
//局版图片预览路径 周枫
|
|
|
|
//局版图片预览路径 周枫
|
|
|
|
BaseConfig.url_path_img = "thumb/Material/";
|
|
|
|
BaseConfig.url_path_img = "thumb/Material/";
|
|
|
|
//图片预览压缩请求地址
|
|
|
|
//图片预览压缩请求地址
|
|
|
@ -496,4 +507,5 @@ BaseConfig.projectUrl = {
|
|
|
|
|
|
|
|
|
|
|
|
// 添加方法库
|
|
|
|
// 添加方法库
|
|
|
|
BaseConfig.ConfigFn = ConfigFn;
|
|
|
|
BaseConfig.ConfigFn = ConfigFn;
|
|
|
|
|
|
|
|
BaseConfig.isSZUpload = isSZUpload;//是否苏州版本上传附件方式
|
|
|
|
export default BaseConfig;
|
|
|
|
export default BaseConfig;
|
|
|
|