Authored by 周少峰

search chinese

... ... @@ -283,7 +283,7 @@ class BrandData
public static function delBrandSearchHistory($uid)
{
$param = Yohobuy::param();
$param['method'] = 'web.brand.series';
$param['method'] = 'app.search.clearHotBrandRecords';
$param['uid'] = $uid;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
... ...
... ... @@ -164,6 +164,7 @@ class BrandModel
$list['url'] = Helpers::url('', null, $row['brand_domain']);
$list['brandId'] = $row['id'];
$list['brandDomain'] = $row['brand_domain'];
$list['searchName'] = $row['brand_name_en'].$row['brand_name_cn'];
$build[] = $list;
}
$result[$char] = $build;
... ...