Commit fc6c91b0 authored by hujun's avatar hujun

IMAGES_URL

parent 908575c3
......@@ -74,7 +74,7 @@ class Notice extends Basic
$file_data = $m_file->getFileList('id,file_name', ['new_id'=>$v['id'], 'type'=>2]);
if (!empty($file_data)) {
foreach ($file_data as $k2=>$v2) {
$file_name[] = CURRENT_URL . 'static/business_school_file/' . $v2['file_name'];
$file_name[] = IMAGES_URL . 'static/business_school_file/' . $v2['file_name'];
}
}
$data['list'][$k]['annex_file_path'] = $file_name;
......
......@@ -78,7 +78,7 @@ class PerformanceReport extends Basic
foreach ($res as $key => $val) {
$url = 'static/week_work_img/' . $val['img_url'];
$res[$key]["img_file_path"] = CURRENT_URL . $url;
$res[$key]["img_file_path"] = IMAGES_URL . $url;
}
$data['list'] = $res;
......
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