作者 zhaozzwei

更新 CommentController.php

... ... @@ -137,6 +137,7 @@ class CommentController extends AdminBaseController
$list = DB::name($this->table_name)
->alias('c')
->join('qnb_user u','u.id=c.teach_id')
->order('create_time desc')
->field('c.*')
->where($where)
->paginate(15);
... ... @@ -175,6 +176,7 @@ class CommentController extends AdminBaseController
->alias('c')
->join('qnb_user u','u.id=c.uid')
->field('c.*')
->order('create_time desc')
->where(['c.delete_time'=>0])
->paginate(15);
... ...