Commit ce93d946 authored by hujun's avatar hujun

商学院图片路径修改

parent 2f874719
......@@ -38,7 +38,7 @@ class SNews extends BaseModel
foreach ($data as $k=>$v) {
if (isset($v['cover_plan'])) {
$data[$k]['cover_plan'] = CK_IMG_URL . '/images/' . $v['cover_plan'];
$data[$k]['cover_plan'] = CK_IMG_URL . 'images/' . $v['cover_plan'];
}
}
return $data;
......@@ -76,7 +76,7 @@ class SNews extends BaseModel
->order($order)
->find();
$data['cover_plan'] = CK_IMG_URL . '/images/' . $data['cover_plan'];
$data['cover_plan'] = CK_IMG_URL . 'images/' . $data['cover_plan'];
return $data;
}
......
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