This commit is contained in:
张良(004796)
2024-04-10 18:28:11 +08:00
parent 7a0d20ad2a
commit 5dd8459d8d
2 changed files with 4 additions and 2 deletions

View File

@@ -241,8 +241,10 @@ lock4j:
# 分布式锁的超时时间,默认为 30 秒 # 分布式锁的超时时间,默认为 30 秒
expire: 30000 expire: 30000
cai: cai:
enable-api-encryption: false enable-api-encryption: true
websocket: false websocket: false
coin-name: 黄钻
home-name: 恋香
--- # Actuator 监控端点的配置项 --- # Actuator 监控端点的配置项
management: management:
endpoints: endpoints:

View File

@@ -27,7 +27,7 @@ public class EncryptionFilter implements Filter {
} }
private static final AntPathMatcher ANT_PATH_MATCHER = new AntPathMatcher(); private static final AntPathMatcher ANT_PATH_MATCHER = new AntPathMatcher();
private static final String KEY = "UCEfSKns45SWjHov"; private static final String KEY = "UPsfSES4456W8ILv";
@Autowired @Autowired
private CaiProperties caiProperties; private CaiProperties caiProperties;