Commit 6e07826b authored by zhuwei's avatar zhuwei

1

parent 27f7fa88
...@@ -699,7 +699,8 @@ class OfficeRoomService ...@@ -699,7 +699,8 @@ class OfficeRoomService
//是否可编辑 //是否可编辑
$result['is_can_edit'] = $this->isCanEdit($result['id'], $agent_id); $result['is_can_edit'] = $this->isCanEdit($result['id'], $agent_id);
//微信分享图 原来的随机图 //微信分享图 原来的随机图
$result['external_image'] = $this->getCarouselImageByOne($result['id'], 2); $external_image = $this->getCarouselImageByOne($result['id'], 2);
$result['external_image'] = $external_image ? $external_image['image_path'] : null;
return ['status' => 200, 'msg' => 'success', 'data' => $result]; return ['status' => 200, 'msg' => 'success', 'data' => $result];
......
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