diff --git a/app/portal/controller/BrandController.php b/app/portal/controller/BrandController.php index 59f26c2..748024d 100644 --- a/app/portal/controller/BrandController.php +++ b/app/portal/controller/BrandController.php @@ -96,8 +96,6 @@ class BrandController extends WeChatBaseController $re=Db::name('users')->where(['open_id'=>session('wechat_user')['id']])->find(); if (!$re['mobile']){ $like=0; - }else{ - return $re; } $id = $this->request->param('id');