mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update
This commit is contained in:
@@ -189,13 +189,20 @@ public class SpringBootTestController {
|
||||
public void testRedisSet() {
|
||||
String redisKey = "push_station_connector";
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("1"));
|
||||
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("3"));
|
||||
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("5"));
|
||||
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("1"));
|
||||
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("1"));
|
||||
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("7"));
|
||||
|
||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("3"));
|
||||
|
||||
|
||||
Set<Object> cacheSet = redisCache.getCacheSet(redisKey);
|
||||
System.out.println(cacheSet);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user