常用方法
常用方法
常用方法
常用方法
public function getUsers(UserService $user) { try { return $this->json_response->success($user->getAllUsers()); } catch (Exception $e) { return $this->json_response->error(['error' => $e->getMessage()]); } }