浏览代码

:fire: 移除代码或文件,精简依赖关系

lishangbu 7 年之前
父节点
当前提交
4192ca8ff1

+ 0 - 6
pigx-common/pigx-common-core/pom.xml

@@ -41,12 +41,6 @@
 			<artifactId>hutool-all</artifactId>
 			<version>${hutool.version}</version>
 		</dependency>
-		<!--fastjson-->
-		<dependency>
-			<groupId>com.alibaba</groupId>
-			<artifactId>fastjson</artifactId>
-			<version>${fastjson.version}</version>
-		</dependency>
 		<!--redis-->
 		<dependency>
 			<groupId>org.springframework.boot</groupId>

+ 1 - 1
pigx-common/pigx-common-core/src/main/resources/META-INF/spring.provides

@@ -1 +1 @@
-provides: hutool-all, spring-cloud-starter-openfeign, feign-okhttp, fastjson, spring-boot-starter-data-redis, jackson-datatype-jsr310
+provides: hutool-all, spring-cloud-starter-openfeign, feign-okhttp, spring-boot-starter-data-redis, jackson-datatype-jsr310

+ 0 - 58
pigx-upms/pigx-upms-api/src/main/java/com/pig4cloud/pigx/admin/api/dto/RouteConfig.java

@@ -1,58 +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.admin.api.dto;
-
-import lombok.Data;
-
-import java.io.Serializable;
-import java.util.Map;
-
-/**
- * @author lengleng
- * @date 2017/11/7
- */
-@Data
-public class RouteConfig implements Serializable {
-
-	@com.alibaba.fastjson.annotation.JSONField(name = "path")
-	private String path;
-	@com.alibaba.fastjson.annotation.JSONField(name = "component")
-	private String component;
-	@com.alibaba.fastjson.annotation.JSONField(name = "name")
-	private String name;
-	@com.alibaba.fastjson.annotation.JSONField(name = "components")
-	private String components;
-	@com.alibaba.fastjson.annotation.JSONField(name = "redirect")
-	private String redirect;
-	@com.alibaba.fastjson.annotation.JSONField(name = "props")
-	private String props;
-	@com.alibaba.fastjson.annotation.JSONField(name = "alias")
-	private String alias;
-	@com.alibaba.fastjson.annotation.JSONField(name = "children")
-	private String children;
-	@com.alibaba.fastjson.annotation.JSONField(name = "beforeEnter")
-	private String beforeEnter;
-	@com.alibaba.fastjson.annotation.JSONField(name = "meta")
-	private Map<String, String> meta;
-	@com.alibaba.fastjson.annotation.JSONField(name = "caseSensitive")
-	private Boolean caseSensitive;
-	@com.alibaba.fastjson.annotation.JSONField(name = "pathToRegexpOptions")
-	private String pathToRegexpOptions;
-}

+ 1 - 4
pom.xml

@@ -43,11 +43,9 @@
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 		<maven.compiler.source>1.8</maven.compiler.source>
 		<maven.compiler.target>1.8</maven.compiler.target>
-		<lombok.version>1.16.20</lombok.version>
 		<monitor.version>2.0.1</monitor.version>
-		<hutool.version>4.0.4</hutool.version>
+		<hutool.version>4.1.4</hutool.version>
 		<mbp.boot.version>2.3</mbp.boot.version>
-		<fastjson.version>1.2.47</fastjson.version>
 		<kaptcha.version>0.0.9</kaptcha.version>
 		<swagger.version>2.9.2</swagger.version>
 		<elastic-job.version>2.0.0</elastic-job.version>
@@ -88,7 +86,6 @@
 		<dependency>
 			<groupId>org.projectlombok</groupId>
 			<artifactId>lombok</artifactId>
-			<version>${lombok.version}</version>
 		</dependency>
 		<!--测试依赖-->
 		<dependency>