...
|
...
|
@@ -44,6 +44,7 @@ class AdminCommentController extends AdminBaseController |
|
|
->join('users u','u.id=c.users_id')
|
|
|
->where('c.status',1)
|
|
|
->field('u.*,b.name,c.*')
|
|
|
->order('c.create_time','desc')
|
|
|
->paginate('15');
|
|
|
|
|
|
// $ca1=Db::name('brand_category')->where('status',1)->select();
|
...
|
...
|
@@ -65,6 +66,7 @@ class AdminCommentController extends AdminBaseController |
|
|
->join('active a','c.cid=a.id')
|
|
|
->join('users u','c.users_id=u.id')
|
|
|
->where('c.status',2)
|
|
|
->order('c.create_time','desc')
|
|
|
->field('u.*,a.name,c.*')
|
|
|
->paginate('15');
|
|
|
$this->assign('list', $data);
|
...
|
...
|
@@ -79,6 +81,7 @@ class AdminCommentController extends AdminBaseController |
|
|
->join('users u','c.users_id=u.id')
|
|
|
->where('c.status',3)
|
|
|
->field('u.*,p.name,c.*')
|
|
|
->order('c.create_time','desc')
|
|
|
->paginate('15');
|
|
|
$this->assign('list', $data);
|
|
|
$this->assign('page',$data->render());
|
...
|
...
|
|