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