Commit e4c477bc authored by zw's avatar zw

图片

parent 2f11cd04
......@@ -64,7 +64,7 @@ class Feed extends Basic
foreach ($data as $k => $v) {
if ($v['type'] == 0) {
//todo 0923 经理提的问题
$data[$k]['icon'] = CURRENT_URL . "resource/image/notice_xibaotl.png";
$data[$k]['icon'] = IMAGES_URL . "resource/image/notice_xibaotl.png";
$data[$k]['content'] = "恭喜{$v['content']}成交{$v['house_title']}商铺一套";
unset($data[$k]);
}
......
......@@ -1050,7 +1050,7 @@ class Shop extends Basic
$res = $this->gHousesModel->getExclusive($this->params['houses_id']);
// dump($res);
foreach ($res['exclusive_img'] as $key => $val) {
$res['exclusive_img'][$key]['file_name'] = CURRENT_URL.'resource/lib/Attachments/images/'.$val['img_name'];
$res['exclusive_img'][$key]['file_name'] = IMAGES_URL.'resource/lib/Attachments/images/'.$val['img_name'];
$res['exclusive_img'][$key]['save_path'] = $val['img_name'];
}
} else {
......
......@@ -115,7 +115,7 @@ class Statement extends Basic
$data['agent_id'] = $this->params['agent_id'];
$data['img_url'] = $img_name;
$data['type'] = $this->params['type'];
$data['img_name'] = CURRENT_URL.$url;
$data['img_name'] = IMAGES_URL.$url;
$result = $agent_report->editData($data);
} else {
$result = 0;
......@@ -194,7 +194,7 @@ class Statement extends Basic
$data['list'] = $agent_report->getList($pageNo, $pageSize, 'id desc', $fields, $where);
$data['total'] = $agent_report->getTotal($where);
foreach ($data['list'] as $k=>$v) {
$data['list'][$k]['img_url'] = CURRENT_URL.'static/week_work_img/'.$data['list'][$k]['img_url'];
$data['list'][$k]['img_url'] = IMAGES_URL.'static/week_work_img/'.$data['list'][$k]['img_url'];
}
return $this->response($code, $msg, $data);
}
......
......@@ -1016,7 +1016,7 @@ class Broker extends Basic
if (!isset($params["agents_black_list_id"])) {
return $this->response("101", "请求参数错误");
}
$internet_path = CURRENT_URL.'static/agent_black_list/';
$internet_path = IMAGES_URL.'static/agent_black_list/';
$m_agents_black_list = new AAgentsBlackList();
$m_agents_black_list_img = new AAgentsBlackListImg();
......
......@@ -343,7 +343,7 @@ class Member extends Basic{
foreach ($return_user_list as $k=>$v) {
if ($v['user_pic']) {
$return_user_list[$k]['user_pic'] = CURRENT_URL . 'static/head_portrait/' . $v['user_pic'];
$return_user_list[$k]['user_pic'] = IMAGES_URL . 'static/head_portrait/' . $v['user_pic'];
} else {
$return_user_list[$k]['user_pic'] = '';
}
......
......@@ -58,7 +58,7 @@ class Evaluate extends Model
if (empty($data[$k]['user_pic'])) {
$data[$k]['user_pic'] = $data[$k]['user_pic'];
} else {
$data[$k]['user_pic'] = CURRENT_URL . '/static/head_portrait/' . $data[$k]['user_pic'];
$data[$k]['user_pic'] = IMAGES_URL . '/static/head_portrait/' . $data[$k]['user_pic'];
}
if ($v['evaluate_sign']) {
......
......@@ -93,7 +93,7 @@ class SNews extends BaseModel
->select();
if (!empty($file[0]['annex_file_name'])) {
$data['annex_file_path'] = CURRENT_URL . 'static/business_school_file/' . $file[0]['annex_file_name'];
$data['annex_file_path'] = IMAGES_URL . 'static/business_school_file/' . $file[0]['annex_file_name'];
}
foreach ($file as $k=>$v) {
......
......@@ -170,7 +170,7 @@ class Users extends Model
$data[$k] = $v->getData();
if ($data[$k]['user_pic']) {
$data[$k]['user_pic'] = CURRENT_URL . 'static/head_portrait/' . $data[$k]['user_pic'];
$data[$k]['user_pic'] = IMAGES_URL . 'static/head_portrait/' . $data[$k]['user_pic'];
} else {
$data[$k]['user_pic'] = '';
}
......
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