反编译的代码,有一句话看不懂,就大神指教一下。if()语句,传了两个参数,怎么进行判断的?第一个if语句里面传了2个参数,其它if语句都是一个参数。指教一下,接手别人项目,wechat这个接口一直404,就这里出了问题,着急,谢谢大神们。
onLoad: function(a) {
t.globalData.options = a;
var n = this;
if (n.setData({
redirectType: a.sub
}), a.device) i = “offline/index”;
if (a.online) i = “online/index”;
if (a.oprator) i = “oprator/index”;
if (a.engineer) i = “engineer/index”;
if (a.engineerauth) i = “engineer/auth”;
if (a.opratorauth) var i = “oprator/auth”;
n.setData({
redirect: i
}), e.post(“Wechat”, function(e) {
0 == e.status ? n.removeLaunch() : n.checkUser();
});
},