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
4ef2445b
Commit
4ef2445b
authored
Jul 04, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
评论文章
parent
fa4ccfee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
News.php
application/api_broker/controller/News.php
+1
-1
route.php
application/route.php
+1
-0
No files found.
application/api_broker/controller/News.php
View file @
4ef2445b
...
@@ -148,7 +148,7 @@ class News extends Basic
...
@@ -148,7 +148,7 @@ class News extends Basic
$data
[
'agent_id'
]
=
$this
->
agentId
;
$data
[
'agent_id'
]
=
$this
->
agentId
;
$data
[
's_news_id'
]
=
$this
->
params
[
'news_id'
];
$data
[
's_news_id'
]
=
$this
->
params
[
'news_id'
];
$data
[
'comment_content'
]
=
$this
->
params
[
'co
mment_co
ntent'
];
$data
[
'comment_content'
]
=
$this
->
params
[
'content'
];
$data
[
'status'
]
=
0
;
$data
[
'status'
]
=
0
;
$m_new_comment
=
new
SNewsComment
();
$m_new_comment
=
new
SNewsComment
();
...
...
application/route.php
View file @
4ef2445b
...
@@ -495,6 +495,7 @@ Route::group('broker', [
...
@@ -495,6 +495,7 @@ Route::group('broker', [
'getNewsInfo'
=>
[
'api_broker/news/getNewsInfo'
,
[
'method'
=>
'GET'
]
],
//商学院资讯详情
'getNewsInfo'
=>
[
'api_broker/news/getNewsInfo'
,
[
'method'
=>
'GET'
]
],
//商学院资讯详情
'getNewsLabel'
=>
[
'api_broker/news/getNewsLabel'
,
[
'method'
=>
'GET'
]
],
//商学院标签
'getNewsLabel'
=>
[
'api_broker/news/getNewsLabel'
,
[
'method'
=>
'GET'
]
],
//商学院标签
'getComment'
=>
[
'api_broker/news/getComment'
,
[
'method'
=>
'GET'
]
],
//商学院评论列表
'getComment'
=>
[
'api_broker/news/getComment'
,
[
'method'
=>
'GET'
]
],
//商学院评论列表
'commentNews'
=>
[
'api_broker/news/commentNews'
,
[
'method'
=>
'POST'
]
],
//评论商学院文章
]);
]);
...
...
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