From 572145267acd5da8e5487ddf37f575e25016f79c Mon Sep 17 00:00:00 2001 From: bklLiudl <673013083@qq.com> Date: 星期六, 17 八月 2024 08:59:37 +0800 Subject: [PATCH] Merge branch 'master' into Liudl --- 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