...
|
...
|
@@ -77,12 +77,12 @@ class BrandsModel |
|
|
$urlList = array();
|
|
|
if (USE_CACHE) {
|
|
|
$key = WebCacheConfig::KEY_WEB_PRODUCT_INDEX_BRANDINTRO;
|
|
|
if (!empty($customOptions['userInput'])) {
|
|
|
$key .= http_build_query($customOptions['userInput'], null, '&');
|
|
|
if (!empty($customOptions['brandId'])) {
|
|
|
$key .= $customOptions['brandId'];
|
|
|
}
|
|
|
if (!empty($customOptions['brandName'])) {
|
|
|
$key .= $customOptions['brandName'];
|
|
|
}
|
|
|
$channel = HomeModel::getSwitchChannel();
|
|
|
//key加上性别参数
|
|
|
$key .= $channel;
|
|
|
// 先尝试获取一级缓存(master), 有数据则直接返回.
|
|
|
$result = Cache::get($key, 'master');
|
|
|
if (!empty($result)) {
|
...
|
...
|
|