|
@@ -34,9 +34,9 @@ class VideoComment extends Controller
|
|
|
$this->video_id = input('video_id');
|
|
|
$this->url_id = input('url_id');
|
|
|
$sel_where = [];
|
|
|
- $sel_where[] = ['is_deleted','=',0];
|
|
|
- $sel_where[] = ['video_id','=',$this->video_id];
|
|
|
- $sel_where[] = ['url_id','=',$this->url_id];
|
|
|
+ $sel_where[] = ['c.is_deleted','=',0];
|
|
|
+ $sel_where[] = ['c.video_id','=',$this->video_id];
|
|
|
+ $sel_where[] = ['c.url_id','=',$this->url_id];
|
|
|
$query = $this->_query($this->table)->alias('c')
|
|
|
->field('c.*,u.name,u.headimg')
|
|
|
->leftJoin("store_member u",'u.id = c.user_id')
|