diff --git a/api/class/person.php b/api/class/person.php index 54b4d85..17d3650 100644 --- a/api/class/person.php +++ b/api/class/person.php @@ -65,6 +65,7 @@ if ($key == $sql_key) { 'op'=>$result_person_object->op, 'office'=>$result_person_object->office, 'gender'=>$result_person_object->gender, + 'qq'=>$result_person_object->qq, ) ); // 输出数据 @@ -92,6 +93,7 @@ if ($key == $sql_key) { 'op'=>$result_person_object->op, 'office'=>$result_person_object->office, 'gender'=>$result_person_object->gender, + 'qq'=>$result_person_object->qq, ); } // 编译数据 diff --git a/get_book.php b/get_book.php index dc15eed..6f0ee64 100644 --- a/get_book.php +++ b/get_book.php @@ -48,12 +48,12 @@ $book = json_decode($book,true);
Loading...
Loading...
-
+
-
+
diff --git a/index.php b/index.php index 5562186..e433269 100644 --- a/index.php +++ b/index.php @@ -4,6 +4,13 @@ $menu_page = 1; // 载入组件 include($_SERVER['DOCUMENT_ROOT'].'/module/head-check.php'); include($_SERVER['DOCUMENT_ROOT'].'/plugins/function.php'); +// 载入全部人用户个人信息 +$member_all_url = $setting['API']['Domain'].'/class/person.php?key='.$setting['Key'].'&type=all'; +$member_all_ch = curl_init($member_all_url); +curl_setopt($member_all_ch,CURLOPT_USERAGENT,$_SERVER['HTTP_USER_AGENT']); +curl_setopt($member_all_ch, CURLOPT_RETURNTRANSFER, true); +$member_all = curl_exec($member_all_ch); +$member_all = json_decode($member_all,true); ?>