...
|
...
|
@@ -466,7 +466,7 @@ class Process |
|
|
$typeKey = sprintf("%s_%s", $type, $key + 2);
|
|
|
$cacheKey = sprintf("%s_%s", WebCacheConfig::KEY_WEB_INDEX_BRANDS_LIST_DATA, $typeKey);
|
|
|
Cache::set($cacheKey, $floor, 86400);
|
|
|
$result['preferenceBrands']['brandUrl'] = Helpers::url('/common/getIndexResourceBrand', array('type' => $typeKey));
|
|
|
$result['preferenceBrands']['brandUrl'] = Helpers::url('/common/getIndexResourceBrand', array('type' => $typeKey),'');
|
|
|
unset($data[$key], $data[$key + 1], $data[$key + 2]);
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -829,7 +829,7 @@ class Process |
|
|
$typeKey = sprintf("%s_%s", $type, $key);
|
|
|
$cacheKey = sprintf("%s_%s", WebCacheConfig::KEY_WEB_INDEX_BRANDS_LIST_DATA, $typeKey);
|
|
|
Cache::set($cacheKey, $floor, 86400);
|
|
|
$result['hotBrands']['brandUrl'] = Helpers::url('/common/getIndexResourceBrand', array('type' => $typeKey));
|
|
|
$result['hotBrands']['brandUrl'] = Helpers::url('/common/getIndexResourceBrand', array('type' => $typeKey),'');
|
|
|
}
|
|
|
return $result;
|
|
|
}
|
...
|
...
|
|