|
@@ -36,7 +36,7 @@ class VideoVip extends Auth{
|
|
|
if( $uid ) $map[] = ['custom_uid','=',$uid];
|
|
|
if( $customName ) $map[] = ['custom.username','LIKE','%'.$customName.'%'];
|
|
|
if( $customPhone ) $map[] = ['custom.phone','=',$customPhone];
|
|
|
- if( !is_null($status) ) $map[] = ['status','=',$status];
|
|
|
+ if( !is_null($status) ) $map[] = ['video_vip.status','=',$status];
|
|
|
// 查询数据
|
|
|
$list = $Model->query()->join('custom','video_vip.custom_uid','=','custom.uid')->where($map)->orderByDesc('id')->select(['video_vip.*','custom.username as custom_name','custom.phone as phone'])->paginate(request('limit',config('page_num',10)))->appends(request()->all());
|
|
|
// 循环处理数据
|