|
@@ -34,6 +34,7 @@ class ReplyComment extends Controller
|
|
|
$sel_where[] = ['c.reply_id','=',$this->reply_id];
|
|
|
if($content = $this->request->get('content'))$sel_where[] = ['c.content','like','%'.$content.'%'];
|
|
|
if($name = $this->request->get('name'))$sel_where[] = ['u.name','like','%'.$name.'%'];
|
|
|
+ if($id = $this->request->get('id'))$sel_where[] = ['c.id','=',$id];
|
|
|
$query = $this->_query($this->table)->alias('c')
|
|
|
->field('c.*,u.name,u.headimg')
|
|
|
->leftJoin("store_member u",'u.id = c.user_id')
|