This commit is contained in:
2025-06-27 17:28:12 +08:00
parent 1520a26284
commit e5a4df1bc0
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class CommentController extends BaseController
protected function postProcessItem(array $item, string $scene): array
{
if ($scene === 'default') {
if ($scene === 'default' || $scene === 'show') {
if ($item['avatar']) {
$item['avatar_full'] = (new \app\mzl\modules\upload\service\OssService())->generatePrivateUrl($item['avatar']);
}