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()