|
@@ -117,9 +117,9 @@
|
|
|
send_alert("用户名密码错误");
|
|
|
}else{
|
|
|
// TODO: 判断是否存在flowMaster,是否有权限
|
|
|
- setCookieWithTimeout("doibyUser", obj.list[0].userId);
|
|
|
+ setCookieWithTimeout("doibyUser", obj.userId);
|
|
|
alert("Cookie : " + getCookie("doibyUser"));
|
|
|
- location.href = "denglu.html?userId=" + obj.list[0].userId;
|
|
|
+ location.href = "denglu.html?userId=" + obj.userId;
|
|
|
}
|
|
|
}
|
|
|
|