middleware('auth:sanctum'); $this->roleAllow(UserRole::NORMAL_ADMIN); $this->customAllow = [Custom::HELLO_TECHNO]; } protected function getParam(): IParam { return $this->param; } protected function run(Request $request): JsonResponse { $param = $this->param; $list = API::getCustomers($param->customerCode); return $this->successResponse(['records' => $list]); } }