品牌
This commit is contained in:
@@ -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'] : '',
|
||||
|
||||
Reference in New Issue
Block a user