|
@@ -38,7 +38,7 @@ class VideoVip extends Auth{
|
|
|
if( $customPhone ) $map[] = ['custom.phone','=',$customPhone];
|
|
|
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());
|
|
|
+ $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 custom_phone'])->paginate(request('limit',config('page_num',10)))->appends(request()->all());
|
|
|
// 循环处理数据
|
|
|
foreach ($list as $key => $value) {
|
|
|
// 编码
|