mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-12-21 19:09:45 +08:00
统一定义依赖版本号
This commit is contained in:
4
pom.xml
4
pom.xml
@@ -42,10 +42,12 @@
|
|||||||
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>utf-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>utf-8</project.reporting.outputEncoding>
|
||||||
|
|
||||||
|
<!-- 统一定义依赖版本号 -->
|
||||||
<springboot.version>2.5.12</springboot.version>
|
<springboot.version>2.5.12</springboot.version>
|
||||||
<spring-web.version>5.3.7</spring-web.version>
|
<spring-web.version>5.3.7</spring-web.version>
|
||||||
<reactor-core.version>3.1.4.RELEASE</reactor-core.version>
|
<reactor-core.version>3.1.4.RELEASE</reactor-core.version>
|
||||||
<jackson-databind.version>2.13.4.1</jackson-databind.version>
|
<jackson-databind.version>2.13.4.1</jackson-databind.version>
|
||||||
|
<jackson-datatype-jsr310.version>2.11.2</jackson-datatype-jsr310.version>
|
||||||
<servlet-api.version>3.1.0</servlet-api.version>
|
<servlet-api.version>3.1.0</servlet-api.version>
|
||||||
<thymeleaf.version>3.0.9.RELEASE</thymeleaf.version>
|
<thymeleaf.version>3.0.9.RELEASE</thymeleaf.version>
|
||||||
<solon.version>1.10.4</solon.version>
|
<solon.version>1.10.4</solon.version>
|
||||||
@@ -58,6 +60,8 @@
|
|||||||
<grpc-spring-boot-starter.version>2.10.1.RELEASE</grpc-spring-boot-starter.version>
|
<grpc-spring-boot-starter.version>2.10.1.RELEASE</grpc-spring-boot-starter.version>
|
||||||
<hutool-jwt.version>5.8.5</hutool-jwt.version>
|
<hutool-jwt.version>5.8.5</hutool-jwt.version>
|
||||||
<jjwt.version>0.9.1</jjwt.version>
|
<jjwt.version>0.9.1</jjwt.version>
|
||||||
|
<fastjson.version>1.2.83</fastjson.version>
|
||||||
|
<fastjson2.version>2.0.15</fastjson2.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<!-- 仓库信息 -->
|
<!-- 仓库信息 -->
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ public class SaSessionController {
|
|||||||
|
|
||||||
// 复杂存取值 ---- http://localhost:8081/session/getModel
|
// 复杂存取值 ---- http://localhost:8081/session/getModel
|
||||||
@RequestMapping("getModel")
|
@RequestMapping("getModel")
|
||||||
public SaResult setValue() {
|
public SaResult getModel() {
|
||||||
// 实例化
|
// 实例化
|
||||||
SysUser user = new SysUser();
|
SysUser user = new SysUser();
|
||||||
user.setId(10001);
|
user.setId(10001);
|
||||||
|
|||||||
@@ -1,12 +1,19 @@
|
|||||||
package com.pj.model;
|
package com.pj.model;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* User 实体类
|
* User 实体类
|
||||||
*
|
*
|
||||||
* @author kong
|
* @author kong
|
||||||
* @since 2022-10-15
|
* @since 2022-10-15
|
||||||
*/
|
*/
|
||||||
public class SysUser {
|
public class SysUser implements Serializable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private static final long serialVersionUID = -2853125262828437774L;
|
||||||
|
|
||||||
public SysUser() {
|
public SysUser() {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,13 +23,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||||||
<version>2.3.3.RELEASE</version>
|
<version>${springboot.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- fastjson -->
|
<!-- fastjson -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.alibaba</groupId>
|
<groupId>com.alibaba</groupId>
|
||||||
<artifactId>fastjson</artifactId>
|
<artifactId>fastjson</artifactId>
|
||||||
<version>1.2.83</version>
|
<version>${fastjson.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
@@ -23,13 +23,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||||||
<version>2.3.3.RELEASE</version>
|
<version>${springboot.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- fastjson2 -->
|
<!-- fastjson2 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.alibaba.fastjson2</groupId>
|
<groupId>com.alibaba.fastjson2</groupId>
|
||||||
<artifactId>fastjson2</artifactId>
|
<artifactId>fastjson2</artifactId>
|
||||||
<version>2.0.15</version>
|
<version>${fastjson2.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||||||
<version>2.3.3.RELEASE</version>
|
<version>${springboot.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- jackson-databind -->
|
<!-- jackson-databind -->
|
||||||
<dependency>
|
<dependency>
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fasterxml.jackson.datatype</groupId>
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
||||||
<artifactId>jackson-datatype-jsr310</artifactId>
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
||||||
<version>2.11.2</version>
|
<version>${jackson-datatype-jsr310.version}</version>
|
||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||||||
<version>2.3.3.RELEASE</version>
|
<version>${springboot.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user