|
...
|
...
|
@@ -63,19 +63,17 @@ class AyrReleaseLogic extends BaseLogic |
|
|
|
$imageModel = new Image();
|
|
|
|
$list = $imageModel->list(['hash'=>['in',$images]],'id');
|
|
|
|
foreach ($list as $v1){
|
|
|
|
var_dump($v1);
|
|
|
|
die();
|
|
|
|
$arr[] = url('/b/images/' . $v1['hash']);
|
|
|
|
$filename = basename($v1['path']);
|
|
|
|
$arr[] = url('/upload/images/'.$filename);
|
|
|
|
}
|
|
|
|
}else{
|
|
|
|
$arr[] = url('/b/file_hash/' . $v);
|
|
|
|
$fileModel = new File();
|
|
|
|
$info = $fileModel->read(['hash'=>$v]);
|
|
|
|
$filename = basename($info['path']);
|
|
|
|
$arr[] = url('/upload/images/'.$filename);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return $this->success($arr);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function platforms_request(){
|
|
|
|
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|