...
|
...
|
@@ -4,7 +4,7 @@ namespace WebPlugin\DataProcess; |
|
|
use WebPlugin\Images;
|
|
|
use WebPlugin\Helpers;
|
|
|
use WebPlugin\Cache;
|
|
|
use Configs\CacheConfig;
|
|
|
use Configs\WebCacheConfig;
|
|
|
use LibModels\Web\Product\SearchData;
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -488,7 +488,7 @@ class Process |
|
|
unset($data[$key + 3]);
|
|
|
}
|
|
|
$type_key = sprintf("%s_%s", $type, $key + 2);
|
|
|
$cacheKey = sprintf("%s_%s", CacheConfig::KEY_INDEX_BRANDS_LIST_DATA, $type_key);
|
|
|
$cacheKey = sprintf("%s_%s", WebCacheConfig::KEY_WEB_INDEX_BRANDS_LIST_DATA, $type_key);
|
|
|
Cache::set($cacheKey, $floor, 86400);
|
|
|
$result['preferenceBrands']['brandUrl'] = '/common/getIndexResourceBrand?type=' . $type_key;
|
|
|
unset($data[$key], $data[$key + 1], $data[$key + 2]);
|
...
|
...
|
@@ -869,7 +869,7 @@ class Process |
|
|
}
|
|
|
$floor['moreBrand'] = 'http://yohobuy.com/brands';
|
|
|
$type_key = sprintf("%s_%s", $type, $key);
|
|
|
$cacheKey = sprintf("%s_%s", CacheConfig::KEY_INDEX_BRANDS_LIST_DATA, $type_key);
|
|
|
$cacheKey = sprintf("%s_%s", WebCacheConfig::KEY_WEB_INDEX_BRANDS_LIST_DATA, $type_key);
|
|
|
Cache::set($cacheKey, $floor, 86400);
|
|
|
$result['hotBrands']['brandUrl'] = '/common/getIndexResourceBrand?type=' . $type_key;
|
|
|
}
|
...
|
...
|
|