...
|
...
|
@@ -108,12 +108,14 @@ class BrandModel |
|
|
$list['url'] = Helpers::url('', null, $row['brand_domain']);
|
|
|
$build['list'][] = $list;
|
|
|
}
|
|
|
$result['brandList'][] = $build;
|
|
|
if ($char !== '0~9') {
|
|
|
$result['brandList'][] = $build;
|
|
|
} else {
|
|
|
$lastBrand = $build;
|
|
|
}
|
|
|
}
|
|
|
//第一个元素放到最后
|
|
|
$lastBrand = $result['brandList'][0];
|
|
|
unset($result['brandList'][0]);
|
|
|
$result['brandList'][] = $lastBrand;
|
|
|
//第一个元素放到最后
|
|
|
$result['brandList'] = array_values($result['brandList']);
|
|
|
}
|
|
|
//新入驻品牌
|
...
|
...
|
|