From 0ed064bc6e7d360e947c1c5548321375218f54f2 Mon Sep 17 00:00:00 2001 From: knowpia <9812993@qq.com> Date: Wed, 14 Sep 2022 15:36:30 +0800 Subject: [PATCH] fix bug --- app/controller/Help.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/Help.php b/app/controller/Help.php index 99c32bf..51030f6 100644 --- a/app/controller/Help.php +++ b/app/controller/Help.php @@ -17,7 +17,7 @@ class Help } $student_id = $GLOBALS['data']['data']['student_id']; - $info = Db::name("student")->where("id",$student_id)->field("id")->find(); + $info = Db::name("student")->where("id",$student_id)->field("id,hot")->find(); if(empty($info)){ return show("找不到该学生信息!"); }