diff --git a/home/controllers/h5/market/sylive/User.php b/home/controllers/h5/market/sylive/User.php index 0ac288ec..68991b74 100644 --- a/home/controllers/h5/market/sylive/User.php +++ b/home/controllers/h5/market/sylive/User.php @@ -28,7 +28,9 @@ class User extends Admin throw new Hd_exception('权限不足', 400); } $row = $this->market_sylive_organization_model->get(['organizationId' => $this->biz_id]); - $this->data['headimg'] = Sylive_entity::DF_IMG; + $org_row = $this->market_sylive_organization_model->get(['organizationId' => $this->session['org_id']]); + $headimg = $org_row['logo'] ? build_qiniu_image_url($org_row['logo']) : Sylive_entity::HD_IMG; + $this->data['headimg'] = $headimg; $this->data['biz_name'] = $row['organizationName']; $this->data['biz_id'] = $this->biz_id; //微信分享