新增查看授权信息

This commit is contained in:
2021-12-07 22:31:33 +08:00
parent 3eec3a51a3
commit dbb7e3ea68
5 changed files with 36 additions and 12 deletions

View File

@@ -35,7 +35,7 @@ public class QQNumberManager {
public List<Long> getNumber(){
List<Long> list =new ArrayList<>();
Jedis jedis=RedisTools.getRedis();
jedis.select(3);
jedis.select(RedisTools.QQBOT_USER);
Set<String> set=jedis.keys("*");
for (String s : set) {
list.add(Long.parseLong(s));