diff --git a/pigx-common/pigx-common-bom/pom.xml b/pigx-common/pigx-common-bom/pom.xml index ebef66186..ba9003c6d 100644 --- a/pigx-common/pigx-common-bom/pom.xml +++ b/pigx-common/pigx-common-bom/pom.xml @@ -17,7 +17,6 @@ 2.6.0 - 2.9.6 3.1.0 8.0.13 @@ -75,15 +74,6 @@ pigx-upms-api ${pigx.version} - - - - com.fasterxml.jackson.module - jackson-modules-java8 - ${jackson.modules} - pom - import - com.baomidou diff --git a/pigx-common/pigx-common-core/pom.xml b/pigx-common/pigx-common-core/pom.xml index 5376c4662..74ac9128f 100644 --- a/pigx-common/pigx-common-core/pom.xml +++ b/pigx-common/pigx-common-core/pom.xml @@ -59,18 +59,10 @@ org.springframework.boot spring-boot-starter-validation - + - com.fasterxml.jackson.module - jackson-module-parameter-names - - - com.fasterxml.jackson.datatype - jackson-datatype-jdk8 - - - com.fasterxml.jackson.datatype - jackson-datatype-jsr310 + org.springframework.boot + spring-boot-starter-json diff --git a/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/exception/PigDeniedException.java b/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/exception/PigDeniedException.java deleted file mode 100644 index f21cdc37a..000000000 --- a/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/exception/PigDeniedException.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * - * Copyright (c) 2018-2025, lengleng All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * Neither the name of the pig4cloud.com developer nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * Author: lengleng (wangiegie@gmail.com) - * - */ - -package com.pig4cloud.pigx.common.core.exception; - -import lombok.NoArgsConstructor; - -/** - * @author lengleng - * @date 2018年06月22日16:22:03 - * 403 授权拒绝 - */ -@NoArgsConstructor -public class PigDeniedException extends RuntimeException { - private static final long serialVersionUID = 1L; - - public PigDeniedException(String message) { - super(message); - } - - public PigDeniedException(Throwable cause) { - super(cause); - } - - public PigDeniedException(String message, Throwable cause) { - super(message, cause); - } - - public PigDeniedException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { - super(message, cause, enableSuppression, writableStackTrace); - } - -} diff --git a/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/exception/UnloginException.java b/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/exception/UnloginException.java deleted file mode 100644 index 4518b3231..000000000 --- a/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/exception/UnloginException.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * - * Copyright (c) 2018-2025, lengleng All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * Neither the name of the pig4cloud.com developer nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * Author: lengleng (wangiegie@gmail.com) - * - */ - -package com.pig4cloud.pigx.common.core.exception; - -import lombok.NoArgsConstructor; - -/** - * @author lengleng - * @date 2018年06月22日16:22:10 - */ -@NoArgsConstructor -public class UnloginException extends RuntimeException { - private static final long serialVersionUID = 1L; - - public UnloginException(String message) { - super(message); - } - - public UnloginException(Throwable cause) { - super(cause); - } - - public UnloginException(String message, Throwable cause) { - super(message, cause); - } - - public UnloginException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { - super(message, cause, enableSuppression, writableStackTrace); - } - -}