roleAllow(UserRole::NORMAL_ADMIN); } 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]); } }