Commit e84fe180 authored by zw's avatar zw

1

parent 17e4c140
...@@ -79,8 +79,9 @@ class Square extends Basic ...@@ -79,8 +79,9 @@ class Square extends Basic
$siteId = empty($params['site_id']) ? 10001 : $params['site_id']; $siteId = empty($params['site_id']) ? 10001 : $params['site_id'];
$squareSort = new SquareSortService(); $squareSort = new SquareSortService();
$list = $squareSort->getCommentByPage($pageNo, $pageSize, $siteId); $list = $squareSort->getCommentByPage($pageNo, $pageSize, $siteId);
$result["data"] = [];
if (count($list) <= 0) { if (count($list) <= 0) {
return $this->response("200", "request null"); return $this->response("200", "request null",$result);
} }
$res = $this->s_square->getSquareSortList($list); $res = $this->s_square->getSquareSortList($list);
$result["data"] = $res; $result["data"] = $res;
......
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