From d25e79b5de16128dc68478fd8d9062a354672bf5 Mon Sep 17 00:00:00 2001 From: monanxiao Date: Fri, 17 Mar 2023 10:05:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AF=89=E6=B1=82=E8=AF=A6?= =?UTF-8?q?=E6=83=85=EF=BC=8C=E8=8E=B7=E5=8F=96=E8=AF=84=E8=AE=BA=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/ArticleComment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/ArticleComment.php b/app/api/controller/ArticleComment.php index 4f59570..282818a 100644 --- a/app/api/controller/ArticleComment.php +++ b/app/api/controller/ArticleComment.php @@ -91,7 +91,7 @@ class ArticleComment extends BaseController{ ->where('vote_id', $vote_id)->where('status', 1)->where('type',3)->page($page)->limit(20)->select(); return $this->apiSuccess('ok',['list1'=>$select,'list2'=>$select_type2,'list3'=>$select_type3]); } - public function OneList($vote_id=1,$page=1) { + public function one_list($vote_id=1,$page=1) { $select=Db::table('fa_article_comment') ->withAttr('user_info',function ($data,$value){ $find=Db::table('fa_user')->where('id',$value['user_id'])->field('nickname,avatar')->find();