This commit is contained in:
net909
2024-04-03 21:29:42 +08:00
parent 9fd3a7d3b7
commit 9e3f934701
40 changed files with 342 additions and 1060 deletions
+2 -3
View File
@@ -49,9 +49,8 @@ class App extends Plugin
}
private function queryapi($uin){
//此处需填写QQAPI的接口地址(https://github.com/netcccyun/qqapi
$url = 'http://qqapiurl/api.php?act=getqqlevel';
$post = 'key=查询密钥&uin='.$uin;
$url = config_get('qqapi_url').'api.php?act=getqqlevel';
$post = 'key='.config_get('qqapi_key').'&uin='.$uin;
$data = get_curl($url, $post);
$arr = json_decode($data, true);
if(isset($arr['code']) && $arr['code']==0){