This commit is contained in:
2025-05-23 16:02:35 +08:00
parent 0ba3ff6ac5
commit 749db39a78
21 changed files with 1099 additions and 10 deletions
+1 -1
View File
@@ -41,7 +41,6 @@ class BrandController extends BaseController
*/
protected function postProcessItem(array $item, string $scene): array
{
if ($scene === 'default') {
$result = [
'id' => $item['id'],
@@ -50,6 +49,7 @@ class BrandController extends BaseController
'toppic' => $item['toppic'],
'descpic' => $item['descpic'],
'logo' => $item['logo'],
'is_hot' => $item['is_hot'],
'name' => isset($item['translation']) ? $item['translation']['name'] : '',
'desc' => isset($item['translation']) ? $item['translation']['desc'] : '',
'toppic_alt' => isset($item['translation']) ? $item['translation']['toppic_alt'] : '',