This commit is contained in:
Yutousama 2022-10-22 13:46:55 +08:00
parent 6d9277ced5
commit 7623858866

View File

@ -113,6 +113,7 @@ public class QQNumberManager {
return false; return false;
} }
public boolean isExistsPower(Long qq, String... power){ public boolean isExistsPower(Long qq, String... power){
//1
if(RedisTools.exists(qq,null)){ if(RedisTools.exists(qq,null)){
JSONObject json=JSON.parseObject(RedisTools.get(qq)); JSONObject json=JSON.parseObject(RedisTools.get(qq));
JSONArray array=json.getJSONArray("power"); JSONArray array=json.getJSONArray("power");