From 6ac4b8a2fcd1043bc66f53bdf28c9ee00b8a57d0 Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期一, 26 八月 2024 08:33:17 +0800 Subject: [PATCH] 删除盘点修改 --- Wms/Utility/Filter/CustomerExceptionFilter.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Wms/Utility/Filter/CustomerExceptionFilter.cs b/Wms/Utility/Filter/CustomerExceptionFilter.cs index 2c2c54d..051506a 100644 --- a/Wms/Utility/Filter/CustomerExceptionFilter.cs +++ b/Wms/Utility/Filter/CustomerExceptionFilter.cs @@ -28,11 +28,11 @@ // 濡傛灉寮傚父娌℃湁琚鐞嗗垯杩涜澶勭悊 if (context.ExceptionHandled == false) { - var result = "绯荤粺寮傚父锛岃鑱旂郴绠$悊鍛�"; - if (context.Exception is AppFriendlyException) - result = context.Exception.Message; + //var result = "绯荤粺寮傚父锛岃鑱旂郴绠$悊鍛�"; + //if (context.Exception is AppFriendlyException) + var result = context.Exception.Message; var apiResponse = new ApiResponse<object>( - code: (int)ResponseEnum.Error, + code: (int)ResponseEnum.Fail, message: result, data: result ); -- Gitblit v1.8.0