|
@@ -37,13 +37,17 @@ class Index extends Api
|
|
|
if($list['image']){
|
|
if($list['image']){
|
|
|
$list['image']=$domain2.$list['image'];
|
|
$list['image']=$domain2.$list['image'];
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ if($list['image_m']){
|
|
|
|
|
+ $list['image_m']=$domain2.$list['image_m'];
|
|
|
|
|
+ }
|
|
|
$list['details']=Db::name('functional_del')->where($where)->select();
|
|
$list['details']=Db::name('functional_del')->where($where)->select();
|
|
|
foreach ($list['details'] as $k=>$v){
|
|
foreach ($list['details'] as $k=>$v){
|
|
|
if($v['image']){
|
|
if($v['image']){
|
|
|
$list['details'][$k]['image']=$domain2.$v['image'];
|
|
$list['details'][$k]['image']=$domain2.$v['image'];
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ if($v['image_m']){
|
|
|
|
|
+ $list['details'][$k]['image_m']=$domain2.$v['image_m'];
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
$this->success('请求成功',$list);
|
|
$this->success('请求成功',$list);
|
|
|
}
|
|
}
|