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
2d818403
Commit
2d818403
authored
Feb 18, 2019
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
738c9d8e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
News.php
application/index/controller/News.php
+11
-0
route.php
application/route.php
+1
-0
No files found.
application/index/controller/News.php
View file @
2d818403
...
...
@@ -303,5 +303,15 @@ class News extends Basic
return
$this
->
response
(
"300"
,
"失败"
);
}
}
/**
* @return \think\response\View
*/
public
function
plNews
()
{
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'plNews'
);
}
}
}
\ No newline at end of file
application/route.php
View file @
2d818403
...
...
@@ -739,6 +739,7 @@ Route::group('broker', [
'getNewsLabel'
=>
[
'api_broker/news/getNewsLabel'
,
[
'method'
=>
'GET'
]],
//商学院标签
'getComment'
=>
[
'api_broker/news/getComment'
,
[
'method'
=>
'GET'
]],
//商学院评论列表
'commentNews'
=>
[
'api_broker/news/commentNews'
,
[
'method'
=>
'POST'
]],
//评论商学院文章
'plNews'
=>
[
'api_broker/news/plNews'
,
[
'method'
=>
'GET'
]],
//商学院评论
'addCollectUser'
=>
[
'api_broker/CollectUser/addCollectUser'
,
[
'method'
=>
'POST|GET'
]],
//收藏或取消收藏客户
'addCollectHouse'
=>
[
'api_broker/CollectHouse/addCollectHouse'
,
[
'method'
=>
'POST|GET'
]],
//收藏或取消收藏商铺
...
...
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