Commit 063ec49a authored by zhuwei's avatar zhuwei

1

parent b1b094aa
...@@ -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));
} }
......
...@@ -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
...@@ -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']], //收藏或取消收藏商铺
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment