diff --git a/sf_mrs_connect/controllers/controllers.py b/sf_mrs_connect/controllers/controllers.py index 186cc7a5..521c5150 100644 --- a/sf_mrs_connect/controllers/controllers.py +++ b/sf_mrs_connect/controllers/controllers.py @@ -135,6 +135,7 @@ class Sf_Mrs_Connect(http.Controller, MultiInheritController): logging.info(f'已更新制造订单:{productions}') productions.production_cnc_tool_checkout() except Exception as e: + res = {'status': -2, 'message': '对cnc工单的程序用刀进行校验失败'} logging.info(f'对cnc工单的程序用刀进行校验报错:{e}') return json.JSONEncoder().encode(res)