Commit aa0d5d30 by zqm

update: 网关换成云之家的

parent 4701004a
This diff could not be displayed because it is too large.
......@@ -6,7 +6,7 @@ const config = {
product: true,
ssoToken: 'token',
//区分测试环境和正式环境
baseUrl: isProduct ? 'https://jffcvp.cndrealty.com:4433/' : 'https://mxytest.cndrealty.com:4433/',
baseUrl: isProduct ? 'https://portal.cndrealty.com/' : 'https://staging.jffctest.com/',
appkey: isProduct ? '781d2ec4' : 'd504275e', // 正式
// baseUrl: 'https://mxytest.cndrealty.com:4433/', //测试
......
......@@ -60,10 +60,10 @@ const config = {
userid: '46000011',
// loginuserid: '10000360',
loginuserid: '46000011',
appKey: 'd504275e',
appkey: 'd504275e',
uid: 'hqhuang@cndrealty.com',
token:'yzj_6082c32a80f913acd16a0e8e9364914d',
baseUrl: 'https://mxytest.cndrealty.com:4433/',
baseUrl: 'https://staging.jffctest.com/',
};
export default Object.assign(config, common);
......@@ -2290,7 +2290,7 @@ function registerEvent(clickNode, data) {
apiCode = 'hchr.resume.attachmentInfoV';
break;
}
const url = `${configuration.baseUrl}mas-api/proxy?alias=${apiCode}&${fileName}&tocken=${$mas.token}`;
const url = `${configuration.baseUrl}mas/proxy?alias=${apiCode}&${fileName}&tocken=${$mas.token}`;
console.log('url>>', url);
// if (fileType === 'pdf') {
// app.showPdf([{url}])
......@@ -2914,12 +2914,10 @@ function filterData(item, data, isAssessNew) {
return assessData;
}
function eleHide() {
let wrap_content = document.getElementsByClassName('wrap_content');
console.log('wrap_content>>', wrap_content);
for (let i = 0; i < wrap_content.length; i++) {
console.log('');
if (wrap_content[i].childNodes.length > 3) {
let clickNode = wrap_content[i].nextElementSibling;
wrapContent(wrap_content[i], clickNode);
......
......@@ -20,8 +20,8 @@ export default class MAS {
*/
static get TYPE() {
return {
PROXY: 'mas-api/proxy?alias=',
RESTFUL: 'mas-api/restful/',
PROXY: 'mas/proxy?alias=',
RESTFUL: 'mas/restful/',
};
}
......
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 sign in to comment