Authored by 周少峰

branch format

@@ -197,11 +197,8 @@ class BrandModel @@ -197,11 +197,8 @@ class BrandModel
197 } 197 }
198 foreach ($list['data'] as $key => $val) { 198 foreach ($list['data'] as $key => $val) {
199 $result[$val['brandDomain']] = array( 199 $result[$val['brandDomain']] = array(
200 - 'brandDomain' => $val['brandDomain'],  
201 - 'brandId' => $val['brandId'],  
202 'name' => $val['searchTerms'], 200 'name' => $val['searchTerms'],
203 'searchTime' => $val['searchTime'], 201 'searchTime' => $val['searchTime'],
204 - 'url' => isset($val['brandDomain']) ? Helpers::url('', '', $val['brandDomain']) : '',  
205 ); 202 );
206 } 203 }
207 } while(false); 204 } while(false);
@@ -224,10 +221,7 @@ class BrandModel @@ -224,10 +221,7 @@ class BrandModel
224 } 221 }
225 foreach ($hot['data'] as $key => $val) { 222 foreach ($hot['data'] as $key => $val) {
226 $result[] = array( 223 $result[] = array(
227 - 'brandId' => isset($val['brandId']) ? $val['brandId'] : '',  
228 - 'brandDomain' => isset($val['brandDomain']) ? $val['brandDomain'] : '',  
229 'name' => isset($val['brandName']) ? $val['brandName'] : '', 224 'name' => isset($val['brandName']) ? $val['brandName'] : '',
230 - 'url' => isset($val['brandDomain']) ? Helpers::url('', '', $val['brandDomain']) : '',  
231 ); 225 );
232 } 226 }
233 } while(false); 227 } while(false);