From 3fcb13f5c34f6c12cfcd9d838765e98db03ff914 Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Sun, 6 Sep 2020 10:12:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Controller/v3/CollectStoreController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controller/v3/CollectStoreController.php b/app/Controller/v3/CollectStoreController.php index 036266b..8dffdd9 100644 --- a/app/Controller/v3/CollectStoreController.php +++ b/app/Controller/v3/CollectStoreController.php @@ -26,8 +26,8 @@ class CollectStoreController extends BaseController }else{ $this->collectStoreService->do($params['user_id'],$params['store_id']); } - $res = $this->collectStoreService->check($params['user_id'],$params['store_id']); - return $this->success($res); + $res = (bool) $this->collectStoreService->check($params['user_id'],$params['store_id']); + return $this->success(['is_collect' => $res]); } public function getListByUser()