mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-10-27 11:09:01 +08:00
细节优化
This commit is contained in:
@@ -13,7 +13,7 @@ import cn.dev33.satoken.SaManager;
|
||||
@SpringBootApplication
|
||||
public class SaTokenAloneRedisClusterApplication {
|
||||
|
||||
public static void main(String[] args) throws ClassNotFoundException {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(SaTokenAloneRedisClusterApplication.class, args);
|
||||
System.out.println("\n启动成功:Sa-Token配置如下:" + SaManager.getConfig());
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ sa-token:
|
||||
# 配置Sa-Token单独使用的Redis连接
|
||||
alone-redis:
|
||||
# 普通集群
|
||||
pattern: cluster
|
||||
# pattern: cluster
|
||||
# Redis服务器连接用户名(默认为空)
|
||||
username:
|
||||
# Redis服务器连接密码(默认为空)
|
||||
|
||||
Reference in New Issue
Block a user