mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update system.py
This commit is contained in:
@@ -107,8 +107,7 @@ def restart():
|
||||
@blueprint.route('/restart_server', endpoint='restart_server', methods=['POST'])
|
||||
@panel_login_required
|
||||
def restart_server():
|
||||
mw.restartServer()
|
||||
return mw.returnData(True, '面板已重启!')
|
||||
return mw.restartServer()
|
||||
|
||||
# 设置
|
||||
@blueprint.route('/set_control', endpoint='set_control', methods=['POST'])
|
||||
|
||||
Reference in New Issue
Block a user