Commit 5aefb102 authored by zhangkuanguang's avatar zhangkuanguang

房源限制

parent 8581b56e
...@@ -458,8 +458,8 @@ class House_base_model extends MY_Model { ...@@ -458,8 +458,8 @@ class House_base_model extends MY_Model {
*/ */
public function valid_house_num($uid) public function valid_house_num($uid)
{ {
// $where = "uid = $uid AND esta in ({$this->house_esta['active']},{$this->house_esta['frozen']}) AND infofrom = '5'"; $where = "uid = $uid AND esta in ({$this->house_esta['active']},{$this->house_esta['frozen']}) AND infofrom = '5'";
$where = "uid = $uid AND esta={$this->house_esta['active']} AND infofrom = '5'"; //2020-08-31 chenlei 去掉冻结房源的数量 //$where = "uid = $uid AND esta={$this->house_esta['active']} AND infofrom = '5'"; //2020-08-31 chenlei 去掉冻结房源的数量
return $this->find_count_by($where, 1); return $this->find_count_by($where, 1);
} }
......
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