修复诉求详情,获取评论接口
This commit is contained in:
parent
8437fc597f
commit
d25e79b5de
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user