feat:更新token
This commit is contained in:
@@ -72,7 +72,9 @@ public class UserTokenInfoServiceImpl implements IUserTokenInfoService {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
userTokenInfoDO.setToken(token);
|
userTokenInfoDO.setToken(token);
|
||||||
return userTokenInfoManage.updateById(userTokenInfoDO);
|
boolean flag = userTokenInfoManage.updateById(userTokenInfoDO);
|
||||||
|
jtDingTalkFactory.sendMsg("用户:" + name + "token更新成功!");
|
||||||
|
return flag;
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean healthDeclaration(UserTokenInfoDO userTokenInfoDO) {
|
private boolean healthDeclaration(UserTokenInfoDO userTokenInfoDO) {
|
||||||
|
|||||||
@@ -25,4 +25,27 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
<version>2.3.0.RELEASE</version>
|
||||||
|
<configuration>
|
||||||
|
<classifier>exec</classifier>
|
||||||
|
<!-- 指定该Main Class为全局的唯一入口 -->
|
||||||
|
<mainClass>com.xiang.app.Application</mainClass>
|
||||||
|
<layout>ZIP</layout>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
Reference in New Issue
Block a user