作者 李忠强

更新

... ... @@ -35,9 +35,6 @@ class Index extends Api
$model = new News();
$list = $model->where('status','normal')->field('type,goods_id,image')->select();
foreach ($list as $key => &$value){
$value['image'] = cdnurl($value['image'],true);
}
$this->success('banner',$list);
}
... ...