Authored by 周少峰

brandname error

... ... @@ -67,6 +67,7 @@ class BrandController extends AbstractAction
if (!empty($uid)) {
$data['history'] = BrandModel::branchSearchHistory($uid);
}
// print_r($data['history']); exit;
//热搜品牌
$data['hot'] = BrandModel::branchSearchHot();
// 渲染模板
... ... @@ -81,7 +82,7 @@ class BrandController extends AbstractAction
{
$result = array();
$uid = $this->getUid();
$brandName = $this->get('brandName');
$brandName = $this->post('brandName');
do {
if (empty($uid) || empty($brandName)) {
break;
... ...