|
|
@@ -47,9 +47,8 @@ public class RedisKeyExpirationListener extends KeyExpirationEventMessageListene
|
|
|
@Override
|
|
|
public void onMessage(Message message, byte[] pattern) {
|
|
|
String key = String.valueOf(message);
|
|
|
- log.info("App-Service 发现预定风控用户:{}", key);
|
|
|
- if (!key.endsWith(applicationName)) {
|
|
|
- return;
|
|
|
+ if (key.startsWith("lock_") || key.startsWith("unlock_")) {
|
|
|
+ log.info("App-Service 发现预定风控用户:{}", key);
|
|
|
}
|
|
|
// 用户锁定
|
|
|
if (key.startsWith("lock_")) {
|