Commit aa0d5d30 by zqm

update: 网关换成云之家的

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