认证歌手列表 默认
This commit is contained in:
@@ -30,12 +30,9 @@ class SingerSong extends adminApi
|
||||
$where['ss.createtime'] = ['between', [strtotime($start_time), strtotime($end_time)]];
|
||||
$wheres['createtime'] = ['between', [strtotime($start_time), strtotime($end_time)]];
|
||||
}
|
||||
if(isset($status)){
|
||||
if($status){
|
||||
$where['ss.status'] = $status;
|
||||
$wheres['status'] = $status;
|
||||
}else{
|
||||
$where['ss.status'] = 0;
|
||||
$wheres['status'] = 0;
|
||||
}
|
||||
|
||||
$count = db::name('vs_singer')->where($wheres)->count();
|
||||
|
||||
Reference in New Issue
Block a user