panlumeng 3 years ago
parent
commit
376eaaed1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/Admin/controller/Account.php

+ 1 - 1
application/Admin/controller/Account.php

@@ -191,7 +191,7 @@ class Account extends Base
         }
         $info['status_n'] = $info['status']==0 ? "未激活": $info['status']==1? "已激活":"已失效";
 
-        $vi = Db::name('rela_video')->join('fc_video a','a.id=fc_rela_video.video_id','left')->field('a.video_sn,a.video_name,a.video_url,a.video_img,fc_rela_video.video_id')->where(['accountid'=>$id,'a.is_del'=>0,])->select();
+        $vi = Db::name('rela_video')->join('fc_video a','a.id=fc_rela_video.video_id','left')->field('a.video_sn,a.video_name,a.video_url,a.video_img,fc_rela_video.video_id')->where(['accountid'=>$id,'a.is_del'=>0,'fc_rela_video.is_del'=>0])->select();
        // var_dump(Db::name('rela_video')->getLastSql());
         $info['info']= $vi;
         return app_show(0,"获取成功",$info );