diff --git a/catch/monitor/controller/Service.php b/catch/monitor/controller/Service.php new file mode 100644 index 0000000..ef90e0a --- /dev/null +++ b/catch/monitor/controller/Service.php @@ -0,0 +1,10 @@ +message($this->message())->check(request()->param(), $this->rules())) { + $message = $this->message(); + if (!$validate->message(empty($message) ? [] : $message)->check(request()->param(), $this->rules())) { throw new FailedException($validate->getError()); } } catch (\Exception $e) {