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}')