...
|
...
|
@@ -110,11 +110,13 @@ class IndexController extends WebAction |
|
|
}
|
|
|
|
|
|
//收藏品牌
|
|
|
public function favoriteBrandAction($uid = '', $brandId = '')
|
|
|
public function favoriteBrandAction()
|
|
|
{
|
|
|
if (!$this->isAjax()) {
|
|
|
return;
|
|
|
}
|
|
|
$uid = $this->post('uid');
|
|
|
$brandId = $this->post('brandId');
|
|
|
if ($uid && $brandId) {
|
|
|
//调用接口收藏或取消收藏
|
|
|
$result = FavoriteData::changeFavoriteBrand($uid, $brandId);
|
...
|
...
|
|