|
|
@@ -59,8 +59,10 @@
|
|
|
//$.messager.alert('用户登录', json['message'], 'error');
|
|
|
$.messager.confirm('用户登录', json['message'] + '\n 点击确定重新登录!', function (r) {
|
|
|
if (r) {
|
|
|
- //window.location.href = "/mes";
|
|
|
- window.location.href = "http://172.18.32.33/?port=9000";
|
|
|
+ if (request("client") == "web")
|
|
|
+ window.location.href = "/mes";
|
|
|
+ else
|
|
|
+ window.location.href = "http://172.18.32.33/?port=9000";
|
|
|
}
|
|
|
});
|
|
|
}
|