|
...
|
...
|
@@ -48,7 +48,7 @@ |
|
|
|
layer.close(loading);
|
|
|
|
if (res.code == 1) {
|
|
|
|
layer.msg(res.msg, {time: 1000, icon: 1}, function () {
|
|
|
|
location.href = res.url;
|
|
|
|
location.href = "{:url('index')}";
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
layer.msg(res.ret+res.msg, {time: 1000, icon: 2});
|
...
|
...
|
|