Commit 87e4cd90 authored by zhuwei's avatar zhuwei

residue_type 0已租,1求租

parent 1d6bd3d4
......@@ -148,6 +148,16 @@ class Shop extends Basic
$conditions['is_vip'] = $params['is_vip'];
}
//residue_type 0已租,1求租
if (!empty($params['residue_type'])) {
if($params['agent_type'] == 1){
$conditions['residue_num'] = array('gt',0);
}else{
$conditions['residue_num'] = 0;
}
}
$order_ = "";
$spTagArr = array();
switch ($params['site_area']) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment