From bd9fc496bc39bfca1e0800805a2f5b3f0d028ac2 Mon Sep 17 00:00:00 2001 From: zhaowc <526854230@qq.com> Date: 星期三, 28 八月 2024 08:16:09 +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