From b2c6c9c27de55c9bd2177191891c143adc76d6f2 Mon Sep 17 00:00:00 2001 From: mgw <1392924357@qq.com> Date: Mon, 13 Jan 2025 14:00:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=A0=81=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_mrs_connect/controllers/controllers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sf_mrs_connect/controllers/controllers.py b/sf_mrs_connect/controllers/controllers.py index 4b9b49a1..278e8c6b 100644 --- a/sf_mrs_connect/controllers/controllers.py +++ b/sf_mrs_connect/controllers/controllers.py @@ -137,7 +137,7 @@ class Sf_Mrs_Connect(http.Controller, MultiInheritController): re_tool_chekout = False re_tool_chekout = productions.production_cnc_tool_checkout() if re_tool_chekout: - return json.JSONEncoder().encode({'status': -2, 'message': '对cnc工单的程序用刀进行校验失败'}) + return json.JSONEncoder().encode({'status': -3, 'message': '对cnc工单的程序用刀进行校验失败'}) except Exception as e: # res = {'status': -2, 'message': '对cnc工单的程序用刀进行校验失败'} logging.info(f'对cnc工单的程序用刀进行校验报错:{e}')