edit-sylive-headimg
This commit is contained in:
@@ -81,8 +81,8 @@ class Biz extends Admin {
|
||||
}
|
||||
$area_id = $this->input->get('area_id');
|
||||
$user = $this->user_model->get(['userId'=>$this->uid]);
|
||||
$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;
|
||||
$org_arr = $this->sylive_entity->get_level_lists($this->session['org_id']);
|
||||
$headimg = $org_arr[0]['logo'] ? build_qiniu_image_url($org_arr[0]['logo']):Sylive_entity::HD_IMG;
|
||||
$data = [
|
||||
'nickname' => $user['nickname'],
|
||||
'headimg' => $headimg
|
||||
|
||||
@@ -28,8 +28,8 @@ class User extends Admin
|
||||
throw new Hd_exception('权限不足', 400);
|
||||
}
|
||||
$row = $this->market_sylive_organization_model->get(['organizationId' => $this->biz_id]);
|
||||
$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;
|
||||
$org_arr = $this->sylive_entity->get_level_lists($this->session['org_id']);
|
||||
$headimg = $org_arr[0]['logo'] ? build_qiniu_image_url($org_arr[0]['logo']):Sylive_entity::HD_IMG;
|
||||
$this->data['headimg'] = $headimg;
|
||||
$this->data['biz_name'] = $row['organizationName'];
|
||||
$this->data['biz_id'] = $this->biz_id;
|
||||
|
||||
Reference in New Issue
Block a user