From 28d11468297634c370add411ab4dfce0e67b5a1f Mon Sep 17 00:00:00 2001 From: XiaoLFeng Date: Sun, 11 Sep 2022 14:47:06 +0800 Subject: [PATCH] =?UTF-8?q?CSS,JS=20=E4=BF=A1=E6=81=AF=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/signin/index.php | 19 ++++++++++ auth.php | 8 ++-- get_book.php | 8 ++-- index.php | 8 ++-- member-ty.php | 8 ++-- non-member-fty.php | 8 ++-- nucleic_acid.php | 8 ++-- pan.php | 8 ++-- signin/20220911.php | 69 ++++++++++++++++++++++++++++++---- signin/admin_20220911.php | 8 ++-- signin/index.php | 10 ++--- src/css/bootstrap.min.css | 7 ++++ src/js/bootstrap.bundle.min.js | 7 ++++ src/js/bootstrap.min.js | 7 ++++ src/js/jQuery.js | 2 + 15 files changed, 140 insertions(+), 45 deletions(-) create mode 100644 src/css/bootstrap.min.css create mode 100644 src/js/bootstrap.bundle.min.js create mode 100644 src/js/bootstrap.min.js create mode 100644 src/js/jQuery.js diff --git a/api/signin/index.php b/api/signin/index.php index a15e89c..a56436d 100644 --- a/api/signin/index.php +++ b/api/signin/index.php @@ -84,6 +84,25 @@ if ($key == $setting['Key']) { ); // 输出数据 echo json_encode($data,JSON_UNESCAPED_UNICODE); + } elseif ($type == 'myself') { + $result_siginin_check = mysqli_query($conn,"SELECT * FROM ".$setting['SQL_DATA']['signin']." WHERE studentID='$studentID'"); + $result_person = mysqli_query($conn,"SELECT * FROM ".$setting['SQL_DATA']['info']." WHERE studentID='$studentID'"); + $result_siginin_check_object = mysqli_fetch_object($result_siginin_check); + $result_person_object = mysqli_fetch_object($result_person); + // 编译数据 + $data = array( + 'output'=>'SUCCESS', + 'code'=>200, + 'info'=>'数据输出完毕', + 'data'=>array( + 'studentID'=>$result_siginin_check_object->studentID, + 'name'=>$result_person_object->name, + 'signin'=>$result_siginin_check_object->signin_20220911, + 'time'=>$result_siginin_check_object->time_20220911, + ), + ); + // 输出数据 + echo json_encode($data,JSON_UNESCAPED_UNICODE); } } else { // 编译数据 diff --git a/auth.php b/auth.php index f067277..6fe115b 100644 --- a/auth.php +++ b/auth.php @@ -15,7 +15,7 @@ $callback = htmlspecialchars($_GET['callback']); 无锡学院 - 软件工程|二班 - + @@ -76,9 +76,9 @@ $callback = htmlspecialchars($_GET['callback']); - - - + + + - - + + + - - + + + - - + + + - - + + + - - + + + - - + + + - - + + + - - + + + - - + + +