mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
【程序目录】更新日志信息
This commit is contained in:
parent
f738c9f609
commit
5edb3befca
@ -42,7 +42,7 @@ class AdminApiExceptionHandle extends Handle
|
||||
* @param Throwable $exception
|
||||
* @return void
|
||||
*/
|
||||
public function report(Throwable $exception):void
|
||||
public function report(Throwable $exception): void
|
||||
{
|
||||
if (!$this->isIgnoreReport($exception)) {
|
||||
$data = [
|
||||
@ -72,10 +72,10 @@ class AdminApiExceptionHandle extends Handle
|
||||
* Render an exception into an HTTP response.
|
||||
* @access public
|
||||
* @param \think\Request $request
|
||||
* @param Throwable $e
|
||||
* @param Throwable $e
|
||||
* @return Response
|
||||
*/
|
||||
public function render($request, Throwable $e):Response
|
||||
public function render($request, Throwable $e): Response
|
||||
{
|
||||
$massageData = Env::get('app_debug', false) ? [
|
||||
'file' => $e->getFile(),
|
||||
|
||||
@ -42,7 +42,7 @@ class ApiExceptionHandle extends Handle
|
||||
* @param Throwable $exception
|
||||
* @return void
|
||||
*/
|
||||
public function report(Throwable $exception):void
|
||||
public function report(Throwable $exception): void
|
||||
{
|
||||
if (!$this->isIgnoreReport($exception)) {
|
||||
$data = [
|
||||
@ -72,10 +72,10 @@ class ApiExceptionHandle extends Handle
|
||||
* Render an exception into an HTTP response.
|
||||
* @access public
|
||||
* @param \think\Request $request
|
||||
* @param Throwable $e
|
||||
* @param Throwable $e
|
||||
* @return Response
|
||||
*/
|
||||
public function render($request, Throwable $e):Response
|
||||
public function render($request, Throwable $e): Response
|
||||
{
|
||||
// 添加自定义异常处理机制
|
||||
if ($e instanceof DbException) {
|
||||
|
||||
@ -42,7 +42,7 @@ class KefuApiExceptionHandle extends Handle
|
||||
* @param Throwable $exception
|
||||
* @return void
|
||||
*/
|
||||
public function report(Throwable $exception):void
|
||||
public function report(Throwable $exception): void
|
||||
{
|
||||
if (!$this->isIgnoreReport($exception)) {
|
||||
$data = [
|
||||
@ -72,10 +72,10 @@ class KefuApiExceptionHandle extends Handle
|
||||
* Render an exception into an HTTP response.
|
||||
* @access public
|
||||
* @param \think\Request $request
|
||||
* @param Throwable $e
|
||||
* @param Throwable $e
|
||||
* @return Response
|
||||
*/
|
||||
public function render($request, Throwable $e):Response
|
||||
public function render($request, Throwable $e): Response
|
||||
{
|
||||
$massageData = Config::get('app_debug', false) ? [
|
||||
'file' => $e->getFile(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user