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();