Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
吴磊(PHP)
/
admin-skeleton
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6838fdbe
authored
Jun 08, 2023
by
wulei@ldy.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix md style
1 parent
2016c1ff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
README.md
README.md
View file @
6838fdb
...
@@ -157,7 +157,7 @@ $router->any('test', function() {
...
@@ -157,7 +157,7 @@ $router->any('test', function() {
```
```
#### 异常处理
#### 异常处理
对整个
`api`
的异常进行了统一的捕获和格式化输出,如上文的未授权访问输出。
对整个
`api`
的异常进行了统一的捕获和格式化输出,如上文的未授权访问输出。
其中系统异常在
`app\Exceptions\Handler.php`
统一捕获,将系统异常转换为标准化输出。错误码主要使用
`HTTP code`
,未捕获的统一使用
`500`
.
其中系统异常在
`app\Exceptions\Handler.php`
统一捕获,将系统异常转换为标准化输出。错误码主要使用
`HTTP code`
,未捕获的统一使用
`500`
。
```
php
```
php
public function register()
public function register()
{
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment