2 Коммиты 45d9831fc5 ... c26aee407f

Автор SHA1 Сообщение Дата
  donglang c26aee407f Merge remote-tracking branch 'origin/dev_20251130' into dev_20251130 2 недель назад
  donglang 93f37a62c8 优化异常类序列化问题 2 недель назад

+ 7 - 1
sckw-common/sckw-common-core/src/main/java/com/sckw/core/exception/BusinessPlatfromException.java

@@ -2,6 +2,7 @@ package com.sckw.core.exception;
 
 
 
+import com.alibaba.fastjson2.annotation.JSONType;
 import com.sckw.core.common.enums.enums.ErrorCodeEnum;
 import lombok.Data;
 
@@ -11,7 +12,7 @@ import lombok.Data;
  * @Description: 异常
  * @Version: 1.0
  */
-
+@JSONType(includes = {"errorCode", "errorMsg", "message"})
 @Data
 public class BusinessPlatfromException extends RuntimeException {
 
@@ -23,6 +24,11 @@ public class BusinessPlatfromException extends RuntimeException {
     private String errorMsg;
 
 
+    public BusinessPlatfromException() {
+        super();
+    }
+
+
     /**
      * 构造函数
      * @param errorCodeEnum 错误码