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
063ec49a
Commit
063ec49a
authored
Feb 18, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b1b094aa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
ImageDepot.php
application/index/controller/ImageDepot.php
+8
-1
News.php
application/index/controller/News.php
+2
-3
route.php
application/route.php
+2
-1
No files found.
application/index/controller/ImageDepot.php
View file @
063ec49a
...
@@ -178,7 +178,14 @@ class ImageDepot extends Basic
...
@@ -178,7 +178,14 @@ class ImageDepot extends Basic
public
function
ceshi
()
public
function
ceshi
()
{
{
$arr
=
array
(
'1'
,
'2'
,
'3'
);
$result
=
array_shift
(
$arr
);
dump
(
$result
);
dump
(
$arr
);
dump
(
count
(
$arr
));
dump
(
array_sum
(
$arr
));
}
}
...
...
application/index/controller/News.php
View file @
063ec49a
...
@@ -309,9 +309,7 @@ class News extends Basic
...
@@ -309,9 +309,7 @@ class News extends Basic
* @return \think\response\View
* @return \think\response\View
*/
*/
public
function
plNews
()
{
public
function
plNews
()
{
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'plNews'
);
return
view
(
'plNews'
);
}
}
}
}
}
\ No newline at end of file
application/route.php
View file @
063ec49a
...
@@ -317,6 +317,8 @@ Route::group('index', [
...
@@ -317,6 +317,8 @@ Route::group('index', [
'delNewsComment'
=>
[
'index/news/delNewsComment'
,
[
'method'
=>
'POST|GET'
]
],
//删除商学院评论
'delNewsComment'
=>
[
'index/news/delNewsComment'
,
[
'method'
=>
'POST|GET'
]
],
//删除商学院评论
'new_text'
=>
[
'index/news/newText'
,
[
'method'
=>
'GET'
]
],
'new_text'
=>
[
'index/news/newText'
,
[
'method'
=>
'GET'
]
],
'delNewsFile'
=>
[
'index/news/delNewsFile'
,
[
'method'
=>
'POST'
]
],
//删除商学院附件
'delNewsFile'
=>
[
'index/news/delNewsFile'
,
[
'method'
=>
'POST'
]
],
//删除商学院附件
'plNews'
=>
[
'index/news/plNews'
,
[
'method'
=>
'GET'
]],
//商学院评论
'agentEvaluateNumAndFraction'
=>
[
'index/broker/agentEvaluateNumAndFraction'
,
[
'method'
=>
'POST|GET'
]
],
//经纪人列表计算-评价次数和分数 朱伟 2018-07-03
'agentEvaluateNumAndFraction'
=>
[
'index/broker/agentEvaluateNumAndFraction'
,
[
'method'
=>
'POST|GET'
]
],
//经纪人列表计算-评价次数和分数 朱伟 2018-07-03
'uploadImg'
=>
[
'index/UploadImg/uploadImg'
,
[
'method'
=>
'POST'
]
],
//全局图片上传
'uploadImg'
=>
[
'index/UploadImg/uploadImg'
,
[
'method'
=>
'POST'
]
],
//全局图片上传
'followUpList'
=>
[
'index/HouseFollowUp/followUpList'
,
[
'method'
=>
'GET'
]
],
//商铺跟进liu
'followUpList'
=>
[
'index/HouseFollowUp/followUpList'
,
[
'method'
=>
'GET'
]
],
//商铺跟进liu
...
@@ -739,7 +741,6 @@ Route::group('broker', [
...
@@ -739,7 +741,6 @@ Route::group('broker', [
'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'
]],
//评论商学院文章
'commentNews'
=>
[
'api_broker/news/commentNews'
,
[
'method'
=>
'POST'
]],
//评论商学院文章
'plNews'
=>
[
'api_broker/news/plNews'
,
[
'method'
=>
'GET'
]],
//商学院评论
'addCollectUser'
=>
[
'api_broker/CollectUser/addCollectUser'
,
[
'method'
=>
'POST|GET'
]],
//收藏或取消收藏客户
'addCollectUser'
=>
[
'api_broker/CollectUser/addCollectUser'
,
[
'method'
=>
'POST|GET'
]],
//收藏或取消收藏客户
'addCollectHouse'
=>
[
'api_broker/CollectHouse/addCollectHouse'
,
[
'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