Commit 9dec1ae8 authored by zhuwei's avatar zhuwei

bug

parent 461a3481
......@@ -127,6 +127,7 @@ class SquareService
$field .= 'Comment.create_time';
$get_params['Comment.square_id'] = $params['square_id'];
$get_params['Comment.is_del'] = 0;
$res = $this->m_coment->getSquareCommentList($pageNo, $pageSize, $field, $get_params);
$res_total = $this->m_coment->getSquareCommentListTotal($field, $get_params);
......@@ -315,6 +316,7 @@ class SquareService
$field = 'CommentExt.id,CommentExt.comment,CommentExt.level,CommentExt.create_time,CommentExt.agent_id_a,CommentExt.agent_id_b';//
$get_params['CommentExt.comment_id'] = $params['id'];
$get_params['CommentExt.is_del'] = 0;
$res = $this->m_coment_ext->getSquareCommentExtList($pageNo, $pageSize, $field, $get_params);
$res_total = $this->m_coment_ext->getSquareCommentExtListTotal($field, $get_params);
......
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