fix(control): 系统控制

test
jshixiong 1 year ago
parent 2b54c0511f
commit 61184b5d68

@ -85,10 +85,10 @@ def clean_junk_file():
# cpu跑满
@route_bp.route('/sys/cpu_full', methods=['POST'])
def execute_bling():
def execute_cpu_full():
return sys_control.execute_cpu_full_script()
# 内存跑满
@route_bp.route('/sys/memory_full', methods=['POST'])
def execute_bling():
def execute_memory_full():
return sys_control.execute_memory_full_script()
Loading…
Cancel
Save