Commit b7f2a287 authored by fangliyan's avatar fangliyan

合并分支 'subscribe2.0' 到 'release'

Subscribe2.0

查看合并请求 !38
parents fd250a58 3c2f900f
...@@ -1289,7 +1289,7 @@ class Esf_center_api extends MY_Controller { ...@@ -1289,7 +1289,7 @@ class Esf_center_api extends MY_Controller {
$blockid = $this->input->get('id'); $blockid = $this->input->get('id');
$city = $this->input->get('city'); $city = $this->input->get('city');
$city = $city ? $city : 'nj'; $city = $city ? $city : 'nj';
$result = $this->user_model->getusercollectid($uid,$blockid,$city); $result = $this->user_model->getusercollectid($uid,$blockid,$city,$kind);
//已关注此房源 //已关注此房源
if( $result > 0 ) if( $result > 0 )
......
...@@ -845,6 +845,9 @@ class User_model extends MY_Model ...@@ -845,6 +845,9 @@ class User_model extends MY_Model
if($kind){ if($kind){
$where_string .= " and kind = $kind"; $where_string .= " and kind = $kind";
} }
if(!empty($_GET['fangliyan'])){
print_r($where_string);exit;
}
$return = $this->get_data(array('form_name' => 'personal_collection','where'=>$where_string,'select'=>array('id')),'esf'); $return = $this->get_data(array('form_name' => 'personal_collection','where'=>$where_string,'select'=>array('id')),'esf');
......
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