...
|
...
|
@@ -506,7 +506,7 @@ class User extends Api |
|
|
->where($type_map)
|
|
|
->where($map)
|
|
|
->order('id desc')
|
|
|
->join('vip v', 'v,id=a.vip_id')
|
|
|
->join('vip v', 'v.id=a.vip_id')
|
|
|
->field('a.id,v.title,a.zhao_type,a.createtime')
|
|
|
->page($param['pages'], $param['rows'])
|
|
|
->select();
|
...
|
...
|
@@ -515,7 +515,7 @@ class User extends Api |
|
|
->where($type_map)
|
|
|
->where($map)
|
|
|
->order('id desc')
|
|
|
->join('vip v', 'v,id=a.vip_id')
|
|
|
->join('vip v', 'v.id=a.vip_id')
|
|
|
->field('a.id,v.title,a.zhao_type,a.createtime')
|
|
|
->select();
|
|
|
} else {
|
...
|
...
|
@@ -537,7 +537,7 @@ class User extends Api |
|
|
->where($map)
|
|
|
->order('id desc')
|
|
|
->alias('a')
|
|
|
->join('vip v', 'v,id=a.vip_id')
|
|
|
->join('vip v', 'v.id=a.vip_id')
|
|
|
->field('a.id,v.title,a.xi_type,a.createtime')
|
|
|
->page($param['pages'], $param['rows'])
|
|
|
->select();
|
...
|
...
|
@@ -546,7 +546,7 @@ class User extends Api |
|
|
->where($map)
|
|
|
->order('id desc')
|
|
|
->alias('a')
|
|
|
->join('vip v', 'v,id=a.vip_id')
|
|
|
->join('vip v', 'v.id=a.vip_id')
|
|
|
->field('a.id,v.title,a.xi_type,a.createtime')
|
|
|
->select();
|
|
|
}
|
...
|
...
|
|