From 2fe8291f1df0795490464118c3a6a56d72b205d4 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 26 十一月 2021 13:40:52 +0800 Subject: [PATCH] update 修改 LOGIN_TOKEN_KEY 内容 对应 satoken 的 key --- pom.xml | 248 +++++++++++++++++++++++++++++++++++++------------ 1 files changed, 188 insertions(+), 60 deletions(-) diff --git a/pom.xml b/pom.xml index 28a6d8e..55a8c88 100644 --- a/pom.xml +++ b/pom.xml @@ -6,31 +6,54 @@ <groupId>com.ruoyi</groupId> <artifactId>ruoyi-vue-plus</artifactId> - <version>${ruoyi-vue-plus.version}</version> + <version>3.3.0</version> <name>RuoYi-Vue-Plus</name> <url>https://gitee.com/JavaLionLi/RuoYi-Vue-Plus</url> <description>RuoYi-Vue-Plus鍚庡彴绠$悊绯荤粺</description> <properties> - <ruoyi-vue-plus.version>2.3.2</ruoyi-vue-plus.version> - <spring-boot.version>2.3.11.RELEASE</spring-boot.version> + <ruoyi-vue-plus.version>3.3.0</ruoyi-vue-plus.version> + <spring-boot.version>2.5.6</spring-boot.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - <java.version>11</java.version> - <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version> - <druid.version>1.2.6</druid.version> - <knife4j.version>3.0.2</knife4j.version> + <java.version>1.8</java.version> + <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version> + <druid.version>1.2.8</druid.version> + <knife4j.version>3.0.3</knife4j.version> + <swagger-annotations.version>1.5.22</swagger-annotations.version> <poi.version>4.1.2</poi.version> + <easyexcel.version>2.2.11</easyexcel.version> <velocity.version>1.7</velocity.version> - <jwt.version>0.9.1</jwt.version> - <mybatis-plus.version>3.4.3</mybatis-plus.version> - <hutool.version>5.7.1</hutool.version> - <feign.version>2.2.6.RELEASE</feign.version> - <feign-okhttp.version>11.0</feign-okhttp.version> - <spring-boot-admin.version>2.3.1</spring-boot-admin.version> - <redisson.version>3.15.2</redisson.version> + <satoken.version>1.28.0</satoken.version> + <mybatis-plus.version>3.4.3.4</mybatis-plus.version> + <p6spy.version>3.9.1</p6spy.version> + <hutool.version>5.7.15</hutool.version> + <feign.version>3.0.3</feign.version> + <feign-okhttp.version>11.6</feign-okhttp.version> + <okhttp.version>4.9.1</okhttp.version> + <spring-boot-admin.version>2.5.2</spring-boot-admin.version> + <redisson.version>3.16.3</redisson.version> + <lock4j.version>2.2.1</lock4j.version> + <dynamic-ds.version>3.4.1</dynamic-ds.version> + <tlog.version>1.3.3</tlog.version> + <xxl-job.version>2.3.0</xxl-job.version> + + <!-- jdk11 缂哄け渚濊禆 jaxb--> <jaxb.version>3.0.1</jaxb.version> + + <!-- OSS 閰嶇疆 --> + <qiniu.version>7.8.0</qiniu.version> + <aliyun.oss.version>3.13.1</aliyun.oss.version> + <qcloud.cos.version>5.6.58</qcloud.cos.version> + <minio.version>8.3.3</minio.version> + + <!-- docker 閰嶇疆 --> + <docker.registry.url>localhost</docker.registry.url> + <docker.registry.host>http://${docker.registry.url}:2375</docker.registry.host> + <docker.namespace>ruoyi</docker.namespace> + <docker.plugin.version>1.2.2</docker.plugin.version> + </properties> <!-- 渚濊禆澹版槑 --> @@ -57,6 +80,18 @@ <groupId>com.github.xiaoymin</groupId> <artifactId>knife4j-spring-boot-starter</artifactId> <version>${knife4j.version}</version> + <exclusions> + <exclusion> + <artifactId>swagger-annotations</artifactId> + <groupId>io.swagger</groupId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>io.swagger</groupId> + <artifactId>swagger-annotations</artifactId> + <version>${swagger-annotations.version}</version> </dependency> <!-- excel宸ュ叿 --> @@ -66,6 +101,22 @@ <version>${poi.version}</version> </dependency> + <dependency> + <groupId>com.alibaba</groupId> + <artifactId>easyexcel</artifactId> + <version>${easyexcel.version}</version> + <exclusions> + <exclusion> + <groupId>org.apache.poi</groupId> + <artifactId>poi</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.poi</groupId> + <artifactId>poi-ooxml-schemas</artifactId> + </exclusion> + </exclusions> + </dependency> + <!-- velocity浠g爜鐢熸垚浣跨敤妯℃澘 --> <dependency> <groupId>org.apache.velocity</groupId> @@ -73,11 +124,43 @@ <version>${velocity.version}</version> </dependency> - <!-- Token鐢熸垚涓庤В鏋�--> + <!-- Sa-Token 鏉冮檺璁よ瘉, 鍦ㄧ嚎鏂囨。锛歨ttp://sa-token.dev33.cn/ --> <dependency> - <groupId>io.jsonwebtoken</groupId> - <artifactId>jjwt</artifactId> - <version>${jwt.version}</version> + <groupId>cn.dev33</groupId> + <artifactId>sa-token-spring-boot-starter</artifactId> + <version>${satoken.version}</version> + </dependency> + <!-- Sa-Token 鏁村悎 Redis 锛堜娇鐢╦ackson搴忓垪鍖栨柟寮忥級 --> + <dependency> + <groupId>cn.dev33</groupId> + <artifactId>sa-token-dao-redis-jackson</artifactId> + <version>${satoken.version}</version> + </dependency> + <!-- Sa-Token鏁村悎SpringAOP瀹炵幇娉ㄨВ閴存潈 --> + <dependency> + <groupId>cn.dev33</groupId> + <artifactId>sa-token-spring-aop</artifactId> + <version>${satoken.version}</version> + </dependency> + <!-- Sa-Token 鏁村悎 jwt --> + <dependency> + <groupId>cn.dev33</groupId> + <artifactId>sa-token-jwt</artifactId> + <version>${satoken.version}</version> + </dependency> + + <!-- jdk11 缂哄け渚濊禆 jaxb--> + <dependency> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-impl</artifactId> + <version>${jaxb.version}</version> + </dependency> + + <!-- dynamic-datasource 澶氭暟鎹簮--> + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>dynamic-datasource-spring-boot-starter</artifactId> + <version>${dynamic-ds.version}</version> </dependency> <dependency> @@ -90,22 +173,42 @@ <artifactId>mybatis-plus-extension</artifactId> <version>${mybatis-plus.version}</version> </dependency> + <!-- sql鎬ц兘鍒嗘瀽鎻掍欢 --> + <dependency> + <groupId>p6spy</groupId> + <artifactId>p6spy</artifactId> + <version>${p6spy.version}</version> + </dependency> + <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>${hutool.version}</version> </dependency> + <!-- @deprecated 鐢变簬浣跨敤浜烘暟杈冨皯 鍐冲畾涓� 3.4.0 鐗堟湰绉婚櫎 --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> <version>${feign.version}</version> + <exclusions> + <exclusion> + <artifactId>feign-core</artifactId> + <groupId>io.github.openfeign</groupId> + </exclusion> + </exclusions> </dependency> - + <!-- @deprecated 鐢变簬浣跨敤浜烘暟杈冨皯 鍐冲畾涓� 3.4.0 鐗堟湰绉婚櫎 --> <dependency> <groupId>io.github.openfeign</groupId> <artifactId>feign-okhttp</artifactId> <version>${feign-okhttp.version}</version> + </dependency> + + <dependency> + <groupId>com.squareup.okhttp3</groupId> + <artifactId>okhttp</artifactId> + <version>${okhttp.version}</version> </dependency> <dependency> @@ -125,19 +228,64 @@ <artifactId>redisson-spring-boot-starter</artifactId> <version>${redisson.version}</version> </dependency> - - <!-- jdk11 缂哄け渚濊禆 jaxb--> <dependency> - <groupId>com.sun.xml.bind</groupId> - <artifactId>jaxb-impl</artifactId> - <version>${jaxb.version}</version> + <groupId>com.baomidou</groupId> + <artifactId>lock4j-redisson-spring-boot-starter</artifactId> + <version>${lock4j.version}</version> </dependency> + <!-- xxl-job-core --> + <dependency> + <groupId>com.xuxueli</groupId> + <artifactId>xxl-job-core</artifactId> + <version>${xxl-job.version}</version> + </dependency> - <!-- 瀹氭椂浠诲姟--> + <dependency> + <groupId>com.yomahub</groupId> + <artifactId>tlog-spring-boot-configuration</artifactId> + <version>${tlog.version}</version> + </dependency> + + <dependency> + <groupId>com.yomahub</groupId> + <artifactId>tlog-webroot</artifactId> + <version>${tlog.version}</version> + <exclusions> + <exclusion> + <artifactId>javassist</artifactId> + <groupId>org.javassist</groupId> + </exclusion> + <exclusion> + <artifactId>guava</artifactId> + <groupId>com.google.guava</groupId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>com.yomahub</groupId> + <artifactId>tlog-feign</artifactId> + <version>${tlog.version}</version> + </dependency> + + <dependency> + <groupId>com.yomahub</groupId> + <artifactId>tlog-xxl-job</artifactId> + <version>${tlog.version}</version> + </dependency> + + <!-- 瀹氭椂浠诲姟 @deprecated 3.4.0鍒犻櫎 杩佺Щ鑷硏xl-job --> <dependency> <groupId>com.ruoyi</groupId> <artifactId>ruoyi-quartz</artifactId> + <version>${ruoyi-vue-plus.version}</version> + </dependency> + + <!-- 瀹氭椂浠诲姟 --> + <dependency> + <groupId>com.ruoyi</groupId> + <artifactId>ruoyi-job</artifactId> <version>${ruoyi-vue-plus.version}</version> </dependency> @@ -169,6 +317,13 @@ <version>${ruoyi-vue-plus.version}</version> </dependency> + <!-- OSS瀵硅薄瀛樺偍妯″潡 --> + <dependency> + <groupId>com.ruoyi</groupId> + <artifactId>ruoyi-oss</artifactId> + <version>${ruoyi-vue-plus.version}</version> + </dependency> + <!-- demo妯″潡 --> <dependency> <groupId>com.ruoyi</groupId> @@ -184,16 +339,14 @@ <module>ruoyi-framework</module> <module>ruoyi-system</module> <module>ruoyi-quartz</module> + <module>ruoyi-job</module> <module>ruoyi-generator</module> <module>ruoyi-common</module> <module>ruoyi-demo</module> + <module>ruoyi-extend</module> + <module>ruoyi-oss</module> </modules> <packaging>pom</packaging> - - - <dependencies> - - </dependencies> <build> <plugins> @@ -222,7 +375,7 @@ <repository> <id>public</id> <name>aliyun nexus</name> - <url>http://maven.aliyun.com/nexus/content/groups/public/</url> + <url>https://maven.aliyun.com/repository/public/</url> <releases> <enabled>true</enabled> </releases> @@ -233,7 +386,7 @@ <pluginRepository> <id>public</id> <name>aliyun nexus</name> - <url>http://maven.aliyun.com/nexus/content/groups/public/</url> + <url>https://maven.aliyun.com/repository/public/</url> <releases> <enabled>true</enabled> </releases> @@ -250,6 +403,7 @@ <!-- 鐜鏍囪瘑锛岄渶瑕佷笌閰嶇疆鏂囦欢鐨勫悕绉扮浉瀵瑰簲 --> <profiles.active>local</profiles.active> <logging.level>debug</logging.level> + <endpoints.include>'*'</endpoints.include> </properties> </profile> <profile> @@ -258,6 +412,7 @@ <!-- 鐜鏍囪瘑锛岄渶瑕佷笌閰嶇疆鏂囦欢鐨勫悕绉扮浉瀵瑰簲 --> <profiles.active>dev</profiles.active> <logging.level>debug</logging.level> + <endpoints.include>'*'</endpoints.include> </properties> <activation> <!-- 榛樿鐜 --> @@ -269,35 +424,8 @@ <properties> <profiles.active>prod</profiles.active> <logging.level>warn</logging.level> + <endpoints.include>health, info, logfile</endpoints.include> </properties> - </profile> - - <!-- jdk澶氱増鏈厤缃� --> - <profile> - <id>jdk8</id> - <activation> - <activeByDefault>true</activeByDefault> - <jdk>1.8</jdk> - </activation> - <properties> - <java.version>1.8</java.version> - </properties> - </profile> - <profile> - <id>jdk11</id> - <activation> - <jdk>11</jdk> - </activation> - <properties> - <java.version>11</java.version> - </properties> - <dependencies> - <!--jaxb--> - <dependency> - <groupId>com.sun.xml.bind</groupId> - <artifactId>jaxb-impl</artifactId> - </dependency> - </dependencies> </profile> </profiles> -- Gitblit v1.9.3