From f1a5076de7a3067dbbd179d588d7b632d1046664 Mon Sep 17 00:00:00 2001 From: XiaoLFeng Date: Sun, 11 Sep 2022 19:51:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=8E=E5=8C=96=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/class/person.php | 2 + get_book.php | 4 +- index.php | 98 ++++++++++++++++++++++++++++++++++++++- member-ty.php | 6 +-- module/menu.php | 2 +- non-member-fty.php | 6 +-- nucleic_acid.php | 6 +-- pan.php | 4 +- signin/20220911.php | 2 +- signin/admin_20220911.php | 2 +- signin/index.php | 2 +- 11 files changed, 115 insertions(+), 19 deletions(-) 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); ?>