$this->validate($request, [
'item_id' => 'required|integer',
'count' => 'required|integer'
]);
$cart = $useCase(
$request->get('item_id'),
$request->get('count')
);
return response()->json(['cart' => $this->cartToArray($cart)]); } $POUSPMMFS ͬ͘͟ΓόϦσʔγϣϯ
ʢυϝΠϯϧʔϧυϝΠϯϨΠϠͰʣ