Commit bb0f3e42 authored by zhuwei's avatar zhuwei

2

parent fecef142
......@@ -194,7 +194,7 @@ class Square extends Basic
* 评论详情
* @return \think\Response
*/
public function getCommenInfo()
public function getCommentInfo()
{
$params = $this->params;
......@@ -202,7 +202,7 @@ class Square extends Basic
return $this->response("101", "参数不全");
}
$result = $this->s_square->getCommenInfo($params, $this->agentId);
$result = $this->s_square->getCommentInfo($params, $this->agentId);
if ($result) {
return $this->response("200", "成功", $result);
......
......@@ -373,7 +373,6 @@ class SquareService
* @param $agent_id_b
* @param $comment
* @param $level
* @param $agent_name
* @param $square_id
* @return bool
*/
......@@ -409,7 +408,7 @@ class SquareService
* @param $agent_id
* @return array|false|\PDOStatement|string|\think\Model
*/
public function getCommenInfo($params, $agent_id)
public function getCommentInfo($params, $agent_id)
{
$field = 'Comment.id,Comment.comment,Comment.create_time,Comment.agent_id';//
$get_params['Comment.id'] = $params['id'];
......
......@@ -884,7 +884,7 @@ Route::group('broker', [
'getSquareInfo' => [ 'api_broker/Square/getSquareInfo', [ 'method' => 'GET|POST' ] ],
'addComent' => [ 'api_broker/Square/addComment', [ 'method' => 'GET|POST' ] ],
'getSquareCommentList' => [ 'api_broker/Square/getSquareCommentList', [ 'method' => 'GET|POST' ] ],
'getCommenInfo' => [ 'api_broker/Square/getCommenInfo', [ 'method' => 'GET|POST' ] ],
'getCommenInfo' => [ 'api_broker/Square/getCommentInfo', [ 'method' => 'GET|POST' ] ],
'getSquareCommentExtList' => [ 'api_broker/Square/getSquareCommentExtList', [ 'method' => 'GET|POST' ] ],
'editCommenSort' => [ 'api_broker/Square/editCommenSort', [ 'method' => 'GET|POST' ] ],
'getDistrictLable' => [ 'api_broker/Square/getDistrictLable', [ 'method' => 'GET|POST' ] ],
......
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