Commit 9a7a3af8 authored by hujun's avatar hujun

去除验证

parent a18b7532
...@@ -31,10 +31,10 @@ class Feed extends Basic ...@@ -31,10 +31,10 @@ class Feed extends Basic
$field = 'id,house_id,title,content,link,house_title'; $field = 'id,house_id,title,content,link,house_title';
$where = []; $where = [];
$where['type'] = 0; $where['status'] = 0;
if (!empty($this->agentId)) { if (!empty($this->agentId)) {
$where[0] = ['EXP','find_in_set('.$this->agentId.',agent_id)']; $where[0] = ['EXP','find_in_set('.$this->agentId.',agent_id) or agent_id = -1'];
} }
$data['data'] = $push->getList($pageNo, $pageSize, 'id DESC', $field, $where); $data['data'] = $push->getList($pageNo, $pageSize, 'id DESC', $field, $where);
......
...@@ -45,7 +45,9 @@ class Basic extends Controller ...@@ -45,7 +45,9 @@ class Basic extends Controller
'broker/getBroker', 'broker/getBroker',
'broker/searchAgentShop', 'broker/searchAgentShop',
'broker/forgetPwd', 'broker/forgetPwd',
'broker/getFeedInfo' 'broker/getFeedInfo',
'broker/feedList'
); );
/** /**
......
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