Commit 6838fdbe by wulei@ldy.com

fix md style

1 parent 2016c1ff
Showing with 1 additions and 1 deletions
...@@ -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()
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!