解决方法:
1.修改
$path = './public' . app()->make(DownloadImageService::class)->downloadImage($data['cover_img'],'def','',1)['path'];
2. 修改
$DownloadImageService = app()->make(DownloadImageService::class);
$coverImg = './public' . $DownloadImageService->downloadImage($room['cover_img'],'def','',1)['path'];
$shareImg = './public' . $DownloadImageService->downloadImage($room['share_img'],'def','',1)['path'];
$feedsImg = './public' . $DownloadImageService->downloadImage($room['feeds_img'],'def','',1)['path'];
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}