From eed1bcaf2bd2a5b68d4a497c81b135ec4cf7cdba Mon Sep 17 00:00:00 2001 From: XiaoLFeng Date: Sun, 11 Sep 2022 19:26:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AF=B9=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=9A=84=E7=AD=9B=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- get_book.php | 2 +- index.php | 8 ++++---- member-ty.php | 3 ++- module/head-check.php | 6 ++---- non-member-fty.php | 2 +- nucleic_acid.php | 3 ++- pan.php | 2 +- signin/20220911.php | 2 +- signin/admin_20220911.php | 2 +- signin/index.php | 4 +++- 10 files changed, 18 insertions(+), 16 deletions(-) diff --git a/get_book.php b/get_book.php index 1ed8dee..dc15eed 100644 --- a/get_book.php +++ b/get_book.php @@ -48,7 +48,7 @@ $book = json_decode($book,true);
Loading...
Loading...
-
+
diff --git a/index.php b/index.php index 13b964f..5562186 100644 --- a/index.php +++ b/index.php @@ -37,7 +37,7 @@ include($_SERVER['DOCUMENT_ROOT'].'/plugins/function.php');
Loading...
Loading...
-
+
@@ -59,10 +59,10 @@ include($_SERVER['DOCUMENT_ROOT'].'/plugins/function.php');
- +
-
-
+
+
diff --git a/member-ty.php b/member-ty.php index 17fb650..c254f4d 100644 --- a/member-ty.php +++ b/member-ty.php @@ -2,6 +2,7 @@ // 页面ID $menu_page = 6; // 载入组件 +include($_SERVER['DOCUMENT_ROOT'].'/module/head-check.php'); include($_SERVER['DOCUMENT_ROOT'].'/plugins/function.php'); ?> @@ -36,7 +37,7 @@ include($_SERVER['DOCUMENT_ROOT'].'/plugins/function.php');
Loading...
Loading...
-
+
diff --git a/module/head-check.php b/module/head-check.php index 5faf137..16f4174 100644 --- a/module/head-check.php +++ b/module/head-check.php @@ -35,12 +35,10 @@ curl_setopt($mirror_ch, CURLOPT_RETURNTRANSFER, true); $mirror = curl_exec($mirror_ch); $mirror = json_decode($mirror,true); -/* // 载入用户个人信息 -$member_url = $setting['API']['Domain'].'/data/web_user/?ssid='.$setting['SSID'].'&uid='.$_COOKIE['user']; +$member_url = $setting['API']['Domain'].'/class/person.php?key='.$setting['Key'].'&type=normal&studentID='.$_COOKIE['studentID']; $member_ch = curl_init($member_url); curl_setopt($member_ch,CURLOPT_USERAGENT,$_SERVER['HTTP_USER_AGENT']); curl_setopt($member_ch, CURLOPT_RETURNTRANSFER, true); $member = curl_exec($member_ch); -$member = json_decode($member,true); -*/ \ No newline at end of file +$member = json_decode($member,true); \ No newline at end of file diff --git a/non-member-fty.php b/non-member-fty.php index 76820e9..745b119 100644 --- a/non-member-fty.php +++ b/non-member-fty.php @@ -37,7 +37,7 @@ include($_SERVER['DOCUMENT_ROOT'].'/plugins/function.php');
Loading...
Loading...
-
+
diff --git a/nucleic_acid.php b/nucleic_acid.php index aba755a..871e132 100644 --- a/nucleic_acid.php +++ b/nucleic_acid.php @@ -2,6 +2,7 @@ // 页面ID $menu_page = 3; // 载入组件 +include($_SERVER['DOCUMENT_ROOT'].'/module/head-check.php'); include($_SERVER['DOCUMENT_ROOT'].'/plugins/function.php'); ?> @@ -36,7 +37,7 @@ include($_SERVER['DOCUMENT_ROOT'].'/plugins/function.php');
Loading...
Loading...
-
+
diff --git a/pan.php b/pan.php index 5a3a308..fd8f86e 100644 --- a/pan.php +++ b/pan.php @@ -37,7 +37,7 @@ include($_SERVER['DOCUMENT_ROOT'].'/plugins/function.php');
Loading...
Loading...
-
+
diff --git a/signin/20220911.php b/signin/20220911.php index 131df90..4b5cff9 100644 --- a/signin/20220911.php +++ b/signin/20220911.php @@ -45,7 +45,7 @@ $signin = json_decode($signin,true);
Loading...
Loading...
-
+
diff --git a/signin/admin_20220911.php b/signin/admin_20220911.php index de9bef5..dbc5385 100644 --- a/signin/admin_20220911.php +++ b/signin/admin_20220911.php @@ -50,7 +50,7 @@ $signin = json_decode($signin,true);
Loading...
Loading...
-
+
diff --git a/signin/index.php b/signin/index.php index 24bf714..444e4fa 100644 --- a/signin/index.php +++ b/signin/index.php @@ -1,6 +1,8 @@