mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:09:26 +08:00
u
This commit is contained in:
@@ -597,7 +597,7 @@ class system_api:
|
||||
'unzip -o mdserver-web.zip -d ' + os.getcwd() + '/')
|
||||
|
||||
public.execShell('rm -rf mdserver-web.zip')
|
||||
public.execShell('restart.sh')
|
||||
public.execShell('sh restart.sh')
|
||||
print v_new_info
|
||||
|
||||
return public.returnJson(False, '已经是最新,无需更新!')
|
||||
|
||||
+4
-4
@@ -548,11 +548,11 @@ function updateVersion(version) {
|
||||
// window.location.reload();
|
||||
// }, 3000);
|
||||
}).error(function() {
|
||||
// layer.msg(lan.index.update_ok, { icon: 1 });
|
||||
layer.msg(lan.index.update_ok, { icon: 1 });
|
||||
// $.get('/system?action=ReWeb', function() {});
|
||||
// setTimeout(function() {
|
||||
// window.location.reload();
|
||||
// }, 3000);
|
||||
setTimeout(function() {
|
||||
window.location.reload();
|
||||
}, 3000);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user