From 61184b5d6819bbe9a2eab8953bd244b7458bfca7 Mon Sep 17 00:00:00 2001 From: jshixiong <2645476194@qq.com> Date: Thu, 8 Aug 2024 11:42:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(control):=20=E7=B3=BB=E7=BB=9F=E6=8E=A7?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/route/route.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/route/route.py b/app/route/route.py index 9d63041..8db09f3 100644 --- a/app/route/route.py +++ b/app/route/route.py @@ -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() \ No newline at end of file