Authored by 周少峰

add branchsearch records

... ... @@ -266,7 +266,7 @@ class BrandData
public static function branchSearchHistory($uid, $records = '')
{
$param = Yohobuy::param();
$param['method'] = 'web.brand.folder';
$param['method'] = 'app.search.hotBrandRecords';
$param['uid'] = $uid;
if ($records) {
$param['records'] = $records;
... ...
... ... @@ -82,12 +82,12 @@ class BrandController extends AbstractAction
{
$result = array();
$uid = $this->getUid();
$brandId = $this->get('brand_id');
$brandName = $this->get('brandNme');
do {
if (!$this->isAjax() || empty($brandId)) {
break;
}
$records = $uid.'_'.$brandId;
$records = time().'_'.$brandName;
$result = BrandData::branchSearchHistory($uid, $records);
} while(false);
... ...