Commit c2e04aab authored by zhuwei's avatar zhuwei

1

parent df7f72a9
...@@ -374,7 +374,7 @@ class SquareService ...@@ -374,7 +374,7 @@ class SquareService
$agent = $this->redis->getRedisCache(2, $res['agent_id']); $agent = $this->redis->getRedisCache(2, $res['agent_id']);
$res['name'] = $agent['name']; $res['name'] = $agent['name'];
$res['image_path'] = AGENTHEADERIMGURL . $agent['img'];//'http://n.sinaimg.cn/ent/transform/20170921/FVGl-fymesmp0851702.jpg'; $res['image_path'] = AGENTHEADERIMGURL . $agent['img'];
//用户置顶权限 //用户置顶权限
$res['user_competence'] = $this->userCompetence($agent_id); $res['user_competence'] = $this->userCompetence($agent_id);
$res['is_can_edit'] = 1;//兼容老版本 2019-04-22 $res['is_can_edit'] = 1;//兼容老版本 2019-04-22
...@@ -422,7 +422,7 @@ class SquareService ...@@ -422,7 +422,7 @@ class SquareService
$pageNo = empty($params['page_no']) ? 1 : $params['page_no']; $pageNo = empty($params['page_no']) ? 1 : $params['page_no'];
$pageSize = empty($params['page_size']) ? 15 : $params['page_size']; $pageSize = empty($params['page_size']) ? 15 : $params['page_size'];
$field = 'CommentExt.id,CommentExt.comment,CommentExt.level,CommentExt.create_time,CommentExt.agent_id_a,CommentExt.agent_id_b';// $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.comment_id'] = $params['id'];
$get_params['CommentExt.is_del'] = 0; $get_params['CommentExt.is_del'] = 0;
......
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