1
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user