mirror of
https://gitee.com/dromara/sa-token.git
synced 2024-11-30 02:48:10 +08:00
v1.31.3.temp 发布
This commit is contained in:
parent
d6e012cfeb
commit
c5ececa9d9
4
pom.xml
4
pom.xml
@ -38,7 +38,7 @@
|
||||
|
||||
<!-- 一些属性 -->
|
||||
<properties>
|
||||
<revision>1.31.2.temp</revision>
|
||||
<revision>1.31.3.temp</revision>
|
||||
<jdk.version>1.8</jdk.version>
|
||||
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>utf-8</project.reporting.outputEncoding>
|
||||
@ -85,8 +85,6 @@
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
||||
|
||||
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
|
@ -15,7 +15,7 @@ public class SaTokenConsts {
|
||||
/**
|
||||
* Sa-Token 当前版本号
|
||||
*/
|
||||
public static final String VERSION_NO = "v1.31.2.temp";
|
||||
public static final String VERSION_NO = "v1.31.3.temp";
|
||||
|
||||
/**
|
||||
* Sa-Token 开源地址 Gitee
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -16,7 +16,7 @@
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -16,7 +16,7 @@
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -27,7 +27,7 @@
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<lombok.version>1.18.10</lombok.version>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -17,7 +17,7 @@
|
||||
<java.version>1.8</java.version>
|
||||
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -17,7 +17,7 @@
|
||||
<java.version>1.8</java.version>
|
||||
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
<solon.version>1.10.9</solon.version>
|
||||
</properties>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
<!-- 定义 Sa-Token 版本号 -->
|
||||
<properties>
|
||||
<sa-token.version>1.31.2.temp</sa-token.version>
|
||||
<sa-token.version>1.31.3.temp</sa-token.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -8,11 +8,11 @@
|
||||
<artifactId>sa-token-dependencies</artifactId>
|
||||
<version>${revision}</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>Sa-Token Dependencies</name>
|
||||
<name>sa-token-dependencies</name>
|
||||
<description>Sa-Token Dependencies</description>
|
||||
|
||||
<properties>
|
||||
<revision>1.31.2.temp</revision>
|
||||
<revision>1.31.3.temp</revision>
|
||||
|
||||
<!-- 统一定义依赖版本号 -->
|
||||
<springboot.version>2.5.12</springboot.version>
|
||||
@ -340,4 +340,84 @@
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<!-- 父仓库 -->
|
||||
<parent>
|
||||
<groupId>org.sonatype.oss</groupId>
|
||||
<artifactId>oss-parent</artifactId>
|
||||
<version>7</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
|
||||
<!-- 项目构建 -->
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.2</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- 统一版本号管理 -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>flatten-maven-plugin</artifactId>
|
||||
<version>1.2.7</version>
|
||||
<configuration>
|
||||
<updatePomFile>true</updatePomFile>
|
||||
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>flatten</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>flatten</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>flatten.clean</id>
|
||||
<phase>clean</phase>
|
||||
<goals>
|
||||
<goal>clean</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.eclipse.m2e</groupId>
|
||||
<artifactId>lifecycle-mapping</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<configuration>
|
||||
<lifecycleMappingMetadata>
|
||||
<pluginExecutions>
|
||||
<pluginExecution>
|
||||
<pluginExecutionFilter>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<versionRange>[1.0.0,)</versionRange>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
</pluginExecutionFilter>
|
||||
<action>
|
||||
<ignore />
|
||||
</action>
|
||||
</pluginExecution>
|
||||
</pluginExecutions>
|
||||
</lifecycleMappingMetadata>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
</project>
|
@ -27,9 +27,6 @@ public class SaTokenDaoRedis implements SaTokenDao {
|
||||
|
||||
/**
|
||||
* 获取Value,如无返空
|
||||
*
|
||||
* @param key
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String get(String key) {
|
||||
@ -43,10 +40,6 @@ public class SaTokenDaoRedis implements SaTokenDao {
|
||||
|
||||
/**
|
||||
* 写入Value,并设定存活时间 (单位: 秒)
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
* @param timeout
|
||||
*/
|
||||
@Override
|
||||
public void set(String key, String value, long timeout) {
|
||||
@ -67,9 +60,6 @@ public class SaTokenDaoRedis implements SaTokenDao {
|
||||
|
||||
/**
|
||||
* 修改指定key-value键值对 (过期时间不变)
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
@Override
|
||||
public void update(String key, String value) {
|
||||
@ -83,8 +73,6 @@ public class SaTokenDaoRedis implements SaTokenDao {
|
||||
|
||||
/**
|
||||
* 删除Value
|
||||
*
|
||||
* @param key
|
||||
*/
|
||||
@Override
|
||||
public void delete(String key) {
|
||||
@ -98,9 +86,6 @@ public class SaTokenDaoRedis implements SaTokenDao {
|
||||
|
||||
/**
|
||||
* 获取Value的剩余存活时间 (单位: 秒)
|
||||
*
|
||||
* @param key
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public long getTimeout(String key) {
|
||||
@ -114,9 +99,6 @@ public class SaTokenDaoRedis implements SaTokenDao {
|
||||
|
||||
/**
|
||||
* 修改Value的剩余存活时间 (单位: 秒)
|
||||
*
|
||||
* @param key
|
||||
* @param timeout
|
||||
*/
|
||||
@Override
|
||||
public void updateTimeout(String key, long timeout) {
|
||||
@ -141,9 +123,6 @@ public class SaTokenDaoRedis implements SaTokenDao {
|
||||
|
||||
/**
|
||||
* 获取Object,如无返空
|
||||
*
|
||||
* @param key
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public Object getObject(String key) {
|
||||
@ -157,10 +136,6 @@ public class SaTokenDaoRedis implements SaTokenDao {
|
||||
|
||||
/**
|
||||
* 写入Object,并设定存活时间 (单位: 秒)
|
||||
*
|
||||
* @param key
|
||||
* @param object
|
||||
* @param timeout
|
||||
*/
|
||||
@Override
|
||||
public void setObject(String key, Object object, long timeout) {
|
||||
@ -181,9 +156,6 @@ public class SaTokenDaoRedis implements SaTokenDao {
|
||||
|
||||
/**
|
||||
* 更新Object (过期时间不变)
|
||||
*
|
||||
* @param key
|
||||
* @param object
|
||||
*/
|
||||
@Override
|
||||
public void updateObject(String key, Object object) {
|
||||
@ -197,8 +169,6 @@ public class SaTokenDaoRedis implements SaTokenDao {
|
||||
|
||||
/**
|
||||
* 删除Object
|
||||
*
|
||||
* @param key
|
||||
*/
|
||||
@Override
|
||||
public void deleteObject(String key) {
|
||||
@ -222,9 +192,6 @@ public class SaTokenDaoRedis implements SaTokenDao {
|
||||
|
||||
/**
|
||||
* 修改Object的剩余存活时间 (单位: 秒)
|
||||
*
|
||||
* @param key
|
||||
* @param timeout
|
||||
*/
|
||||
@Override
|
||||
public void updateObjectTimeout(String key, long timeout) {
|
||||
@ -249,12 +216,6 @@ public class SaTokenDaoRedis implements SaTokenDao {
|
||||
|
||||
/**
|
||||
* 搜索数据
|
||||
*
|
||||
* @param prefix
|
||||
* @param keyword
|
||||
* @param start
|
||||
* @param size
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public List<String> searchData(String prefix, String keyword, int start, int size, boolean sortType) {
|
||||
|
Loading…
Reference in New Issue
Block a user