|
...
|
...
|
@@ -297,7 +297,8 @@ class ImageController extends Controller |
|
|
|
$imageModel = new ImageModel();
|
|
|
|
$lists = $imageModel->list([],$order = 'id',['id','hash','type','path','created_at']);
|
|
|
|
foreach ($lists as $k => $v){
|
|
|
|
$v['image_link'] = $this->getImageUrl($v['image']);
|
|
|
|
$v['image_link'] = $this->getImageUrl($v['hash']);
|
|
|
|
$lists[$k] = $v;
|
|
|
|
}
|
|
|
|
$this->response('success',Code::SUCCESS,$lists);
|
|
|
|
}
|
...
|
...
|
|