From a9cddcd1e3e8ae51f68a885326cfce3247fdbd66 Mon Sep 17 00:00:00 2001 From: yyk <2336760928@qq.com> Date: 星期五, 23 八月 2024 09:20:47 +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