2020-02-05 00:31:51 +08:00
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<groupId>cn.dev33</groupId>
|
|
|
|
|
<artifactId>sa-token-demo-springboot</artifactId>
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
|
|
|
|
|
<!-- SpringBoot -->
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
<version>2.0.0.RELEASE</version>
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
|
|
<!-- springboot依赖 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2020-03-07 14:40:15 +08:00
|
|
|
|
<!-- sa-token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
|
2020-12-18 00:39:14 +08:00
|
|
|
|
<dependency>
|
2020-02-08 00:54:38 +08:00
|
|
|
|
<groupId>cn.dev33</groupId>
|
2020-12-22 01:11:28 +08:00
|
|
|
|
<artifactId>sa-token-spring-boot-starter</artifactId>
|
2021-01-09 01:24:37 +08:00
|
|
|
|
<version>1.10.0</version>
|
2020-12-18 00:39:14 +08:00
|
|
|
|
</dependency>
|
2020-02-05 00:31:51 +08:00
|
|
|
|
|
2021-01-02 04:00:49 +08:00
|
|
|
|
<!-- sa-token整合redis (使用jdk默认序列化方式) -->
|
2020-12-28 02:05:08 +08:00
|
|
|
|
<!-- <dependency>
|
2020-12-26 23:55:46 +08:00
|
|
|
|
<groupId>cn.dev33</groupId>
|
2020-12-27 00:12:48 +08:00
|
|
|
|
<artifactId>sa-token-dao-redis</artifactId>
|
2021-01-09 01:24:37 +08:00
|
|
|
|
<version>1.10.0</version>
|
2021-01-02 04:00:49 +08:00
|
|
|
|
</dependency> -->
|
|
|
|
|
|
|
|
|
|
<!-- sa-token整合redis (使用jackson序列化方式) -->
|
|
|
|
|
<!-- <dependency>
|
|
|
|
|
<groupId>cn.dev33</groupId>
|
|
|
|
|
<artifactId>sa-token-dao-redis-jackson</artifactId>
|
2021-01-09 01:24:37 +08:00
|
|
|
|
<version>1.10.0</version>
|
2021-01-02 04:00:49 +08:00
|
|
|
|
</dependency> -->
|
|
|
|
|
|
|
|
|
|
<!-- 提供redis连接池 -->
|
|
|
|
|
<!-- <dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-pool2</artifactId>
|
2020-12-28 02:05:08 +08:00
|
|
|
|
</dependency> -->
|
2021-01-09 17:24:44 +08:00
|
|
|
|
|
|
|
|
|
<!-- sa-token整合SpringAop实现注解鉴权 -->
|
|
|
|
|
<!-- <dependency>
|
|
|
|
|
<groupId>cn.dev33</groupId>
|
|
|
|
|
<artifactId>sa-token-aop</artifactId>
|
|
|
|
|
<version>1.10.0</version>
|
|
|
|
|
</dependency> -->
|
2020-02-05 00:31:51 +08:00
|
|
|
|
|
2020-12-17 02:19:56 +08:00
|
|
|
|
<!-- @ConfigurationProperties -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
2020-12-18 00:39:14 +08:00
|
|
|
|
|
|
|
|
|
<!-- hutool工具类,用来生成雪花算法唯一id -->
|
|
|
|
|
<!-- <dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
<version>5.5.4</version>
|
|
|
|
|
</dependency> -->
|
|
|
|
|
|
2020-12-17 02:19:56 +08:00
|
|
|
|
|
2020-02-05 00:31:51 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|