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
7a372469
Commit
7a372469
authored
May 08, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
喜报修改
parent
9a7a3af8
Hide 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
+3
-2
Basic.php
application/api_broker/extend/Basic.php
+2
-1
No files found.
application/api_broker/controller/Feed.php
View file @
7a372469
...
@@ -29,7 +29,7 @@ class Feed extends Basic
...
@@ -29,7 +29,7 @@ class Feed extends Basic
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
10
:
$this
->
params
[
'pageSize'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
10
:
$this
->
params
[
'pageSize'
];
$field
=
'id,house_id,title,content,link,house_title'
;
$field
=
'id,house_id,title,content,link,house_title
,create_time
'
;
$where
=
[];
$where
=
[];
$where
[
'status'
]
=
0
;
$where
[
'status'
]
=
0
;
...
@@ -49,6 +49,7 @@ class Feed extends Basic
...
@@ -49,6 +49,7 @@ class Feed extends Basic
* @throws \think\Exception
* @throws \think\Exception
*/
*/
public
function
editFeedClick
()
{
public
function
editFeedClick
()
{
header
(
'Access-Control-Allow-Origin:*'
);
$push
=
new
PushFeed
();
$push
=
new
PushFeed
();
if
(
empty
(
$this
->
params
[
'id'
]))
{
if
(
empty
(
$this
->
params
[
'id'
]))
{
...
@@ -76,7 +77,7 @@ class Feed extends Basic
...
@@ -76,7 +77,7 @@ class Feed extends Basic
header
(
'Access-Control-Allow-Origin:*'
);
header
(
'Access-Control-Allow-Origin:*'
);
$push
=
new
PushFeed
();
$push
=
new
PushFeed
();
$field
=
'id,create_time,house_title'
;
$field
=
'id,create_time,house_title
,click_num
'
;
if
(
empty
(
$this
->
params
[
'id'
]))
{
if
(
empty
(
$this
->
params
[
'id'
]))
{
return
$this
->
response
(
101
,
"Id is null!"
);
return
$this
->
response
(
101
,
"Id is null!"
);
...
...
application/api_broker/extend/Basic.php
View file @
7a372469
...
@@ -46,7 +46,8 @@ class Basic extends Controller
...
@@ -46,7 +46,8 @@ class Basic extends Controller
'broker/searchAgentShop'
,
'broker/searchAgentShop'
,
'broker/forgetPwd'
,
'broker/forgetPwd'
,
'broker/getFeedInfo'
,
'broker/getFeedInfo'
,
'broker/feedList'
'broker/feedList'
,
'broker/editFeedClick'
);
);
...
...
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