From 62b3bf8205277b9bdceaa83f0d7e5d73312e1780 Mon Sep 17 00:00:00 2001
From: bklLiudl <673013083@qq.com>
Date: 星期五, 23 八月 2024 14:48:02 +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