...
|
...
|
@@ -196,12 +196,9 @@ class BrandModel |
|
|
break;
|
|
|
}
|
|
|
foreach ($list['data'] as $key => $val) {
|
|
|
$result[$val['brandDomain']] = array(
|
|
|
'brandDomain' => $val['brandDomain'],
|
|
|
'brandId' => $val['brandId'],
|
|
|
$result[] = array(
|
|
|
'name' => $val['searchTerms'],
|
|
|
'searchTime' => $val['searchTime'],
|
|
|
'url' => isset($val['brandDomain']) ? Helpers::url('', '', $val['brandDomain']) : '',
|
|
|
);
|
|
|
}
|
|
|
} while(false);
|
...
|
...
|
@@ -224,10 +221,7 @@ class BrandModel |
|
|
}
|
|
|
foreach ($hot['data'] as $key => $val) {
|
|
|
$result[] = array(
|
|
|
'brandId' => isset($val['brandId']) ? $val['brandId'] : '',
|
|
|
'brandDomain' => isset($val['brandDomain']) ? $val['brandDomain'] : '',
|
|
|
'name' => isset($val['brandName']) ? $val['brandName'] : '',
|
|
|
'url' => isset($val['brandDomain']) ? Helpers::url('', '', $val['brandDomain']) : '',
|
|
|
);
|
|
|
}
|
|
|
} while(false);
|
...
|
...
|
|