附件优化
This commit is contained in:
@@ -99,7 +99,8 @@ class UsedCarController extends BaseController
|
|||||||
foreach ($attachments as $attachment){
|
foreach ($attachments as $attachment){
|
||||||
$attachment_pull[] = [
|
$attachment_pull[] = [
|
||||||
'name'=>$attachment['name'],
|
'name'=>$attachment['name'],
|
||||||
'src'=>$ossService->generatePrivateUrl($attachment['src'])
|
'src'=>$attachment['src'],
|
||||||
|
'src_pull'=>$ossService->generatePrivateUrl($attachment['src']),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
$data['attachment_pull'] = $attachment_pull;
|
$data['attachment_pull'] = $attachment_pull;
|
||||||
|
|||||||
Reference in New Issue
Block a user