Authored by 周少峰

shopfav & cancelShopFav

... ... @@ -144,6 +144,7 @@ class IndexController extends AbstractAction
//TODO 无店铺:0--->品牌页 无单品店有多品店:1--->搜索页 有单品店:2--->店铺页面
//TODO 通过品牌域名获取店铺shopId 先固定shopId = 672
$brandLogo['shopId'] = 672;
$brandLogo['type'] = 2;
if ($brandLogo['type'] == 2 && !empty($brandLogo['shopId'])) {
$this->shop($brandLogo['shopId'], $uid);
exit;
... ... @@ -486,10 +487,10 @@ class IndexController extends AbstractAction
* 店铺收藏
* @author sefon 2016-4-28 23:00:11
*/
public function shopFav()
public function shopFavAction()
{
$data = array();
$shopId = $this->get('shopId', 0);
$shopId = $this->get('shop_id', 0);
$uid = $this->getUid();
do {
if (!IS_AJAX) {
... ... @@ -506,10 +507,11 @@ class IndexController extends AbstractAction
* 取消店铺收藏
* @author sefon 2016-4-28 23:01:43
*/
public function cancelShopFav()
public function cancelShopFavAction()
{
$data = array();
$shopId = $this->get('shopId', 0);
$shopId = $this->get('shop_id', 0);
$uid = $this->getUid();
do {
if (!IS_AJAX) {
... ...