Pre Merge pull request !487 from 刘继东/N/A
This commit is contained in:
commit
388d9c0d1f
|
|
@ -1,6 +1,7 @@
|
||||||
package com.ruoyi.framework.web.service;
|
package com.ruoyi.framework.web.service;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
import java.util.TreeSet;
|
||||||
import org.apache.commons.lang3.ArrayUtils;
|
import org.apache.commons.lang3.ArrayUtils;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import com.ruoyi.common.constant.Constants;
|
import com.ruoyi.common.constant.Constants;
|
||||||
|
|
@ -33,7 +34,7 @@ public class CacheService
|
||||||
*/
|
*/
|
||||||
public Set<String> getCacheKeys(String cacheName)
|
public Set<String> getCacheKeys(String cacheName)
|
||||||
{
|
{
|
||||||
return CacheUtils.getCache(cacheName).keys();
|
return new TreeSet<>(CacheUtils.getCache(cacheName).keys());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue