兴安访客小程序对接部分迁移

This commit is contained in:
zc
2025-06-05 17:04:25 +08:00
parent b3657fb024
commit 5761742c5a
39 changed files with 1480 additions and 125 deletions

View File

@@ -166,4 +166,16 @@ public class TokenService
{
return ACCESS_TOKEN + token;
}
public void redisSet(String key, String value) {
redisService.setCacheObject(key, value, 60 * 5L, TimeUnit.SECONDS);
}
public String redisGet(String key) {
return redisService.getCacheObject(key);
}
public void redisDel(String key) {
redisService.deleteObject(key);
}
}