Commit de92a4fc by LJM

js

parent 6ab4cd79
Showing with 2 additions and 2 deletions
...@@ -21,12 +21,12 @@ const request = (url = '', type = 'GET', param = {}, Loading, headertype) => { ...@@ -21,12 +21,12 @@ const request = (url = '', type = 'GET', param = {}, Loading, headertype) => {
//请求es相关 //请求es相关
if (url && (url.indexOf("so12.ichunt.") != -1 || url.indexOf("so.liexin.net") != -1)) { if (url && (url.indexOf("so12.ichunt.") != -1 || url.indexOf("so.liexin.net") != -1)) {
params = Object.assign({ hkyefgyd: 1 }); params = Object.assign(param, { hkyefgyd: 1 });
} }
//如果uid没有,就添加参数ygagatetffafa,绕过验证登录 //如果uid没有,就添加参数ygagatetffafa,绕过验证登录
if (!Yo4teW_csrf && !Yo4teW_gid && !Yo4teW_uid) { if (!Yo4teW_csrf && !Yo4teW_gid && !Yo4teW_uid) {
params = Object.assign({ ygagatetffafa: 1 }); params = Object.assign(param, { ygagatetffafa: 1 });
} }
......
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