Commit 08280153 authored by hujun's avatar hujun

IMAGES_URL

parent fc6c91b0
......@@ -121,7 +121,7 @@ class ImageDepot extends Basic
$res_total = $this->imageDepot->getImageDepotListTotal($params_);
foreach($res as $k=>$v)
{
$res[$k]['img_file_path'] = CURRENT_URL . 'static/shop_image_depot/' . $v['img_name'];;
$res[$k]['img_file_path'] = IMAGES_URL . 'static/shop_image_depot/' . $v['img_name'];;
}
$data['total'] =$res_total;
......@@ -150,7 +150,7 @@ class ImageDepot extends Basic
if(!$res){
return $this->response("101", "查无数据");
}
$res[0]['img_file_path'] = CURRENT_URL . 'static/shop_image_depot/' . $res['img_name'];
$res[0]['img_file_path'] = IMAGES_URL . 'static/shop_image_depot/' . $res['img_name'];
$data['list'] =$res[0];
return $this->response("200", "成功",$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