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