From 57b39bca1c6a2b6e5d2b9acc2b0238c4ad5d6005 Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: 星期五, 26 八月 2022 11:14:04 +0800
Subject: [PATCH] rpc修改和线程配置

---
 safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/exception/GlobalExceptionHandler.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/exception/GlobalExceptionHandler.java b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/exception/GlobalExceptionHandler.java
index c06d0bd..56d1879 100644
--- a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/exception/GlobalExceptionHandler.java
+++ b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/exception/GlobalExceptionHandler.java
@@ -110,6 +110,9 @@
     public ResultVO errorHandler(Exception e) {
         e.printStackTrace();
         logger.error(e.getMessage());
-        return new ResultVO(ResultCodes.SERVER_ERROR);
+        ResultVO resultVO = new ResultVO<>();
+        resultVO.setCode(ResultCodes.SERVER_ERROR.getCode());
+        return resultVO;
+//        return new ResultVO(ResultCodes.SERVER_ERROR);
     }
 }

--
Gitblit v1.9.2