Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
9a7a3af8
Commit
9a7a3af8
authored
May 08, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除验证
parent
a18b7532
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
Feed.php
application/api_broker/controller/Feed.php
+2
-2
Basic.php
application/api_broker/extend/Basic.php
+3
-1
No files found.
application/api_broker/controller/Feed.php
View file @
9a7a3af8
...
...
@@ -31,10 +31,10 @@ class Feed extends Basic
$field
=
'id,house_id,title,content,link,house_title'
;
$where
=
[];
$where
[
'
type
'
]
=
0
;
$where
[
'
status
'
]
=
0
;
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
);
...
...
application/api_broker/extend/Basic.php
View file @
9a7a3af8
...
...
@@ -45,7 +45,9 @@ class Basic extends Controller
'broker/getBroker'
,
'broker/searchAgentShop'
,
'broker/forgetPwd'
,
'broker/getFeedInfo'
'broker/getFeedInfo'
,
'broker/feedList'
);
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment