Showing
1 changed file
with
4 additions
and
0 deletions
@@ -496,6 +496,10 @@ class IndexController extends AbstractAction | @@ -496,6 +496,10 @@ class IndexController extends AbstractAction | ||
496 | if (!$this->isAjax()) { | 496 | if (!$this->isAjax()) { |
497 | break; | 497 | break; |
498 | } | 498 | } |
499 | + if (empty($uid)) { | ||
500 | + $data['code'] = 201; | ||
501 | + } | ||
502 | + | ||
499 | if (!empty($shopId) && !empty($uid)) { | 503 | if (!empty($shopId) && !empty($uid)) { |
500 | $data = ShopData::shopFav($uid, $shopId); | 504 | $data = ShopData::shopFav($uid, $shopId); |
501 | } | 505 | } |
-
Please register or login to post a comment