...
|
...
|
@@ -502,19 +502,19 @@ class User extends Api |
|
|
$map['zhao_type'] = ['eq', 1];
|
|
|
}
|
|
|
$arr = Db::name('renwu')
|
|
|
->alias('a')
|
|
|
->where($type_map)
|
|
|
->where($map)
|
|
|
->order('id desc')
|
|
|
->alias('a')
|
|
|
->join('vip v', 'v,id=a.vip_id')
|
|
|
->field('a.id,v.title,a.zhao_type,a.createtime')
|
|
|
->page($param['pages'], $param['rows'])
|
|
|
->select();
|
|
|
$count = Db::name('renwu')
|
|
|
->alias('a')
|
|
|
->where($type_map)
|
|
|
->where($map)
|
|
|
->order('id desc')
|
|
|
->alias('a')
|
|
|
->join('vip v', 'v,id=a.vip_id')
|
|
|
->field('a.id,v.title,a.zhao_type,a.createtime')
|
|
|
->select();
|
...
|
...
|
|