作者 lyh

gx

... ... @@ -61,10 +61,10 @@ class AyrReleaseLogic extends BaseLogic
$imageModel = new Image();
$list = $imageModel->list(['hash'=>['in',$images]],'id');
foreach ($list as $v1){
$arr[] = url('/b/image/' . $v1['hash'].'/'.rand(10000,99999).'.'.$v1['type']);
$arr[] = url('/b/image/' . $v1['hash'].'/'.$v1['type']);
}
}else{
$arr[] = url('/b/file_hash/' . $v.'/'.rand(10000,99999).'.mp4');
$arr[] = url('/b/file_hash/' . $v.'/'.'.mp4');
}
}
return $this->success($arr);
... ...