|
@@ -39,7 +39,7 @@ class VideoComment extends Controller
|
|
|
$sel_where[] = ['c.url_id','=',$this->url_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. if($id = $this->request->get(\'id\')) $sel_where[] = [\'id\',\'=\',$id];id','=',$id];
|
|
|
+ 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')
|