We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65750fb commit 57fc00fCopy full SHA for 57fc00f
application/api/controller/Api.php
@@ -95,7 +95,7 @@ public function init()
95
// 自动检测资源类型
96
$this->type = $request->type();
97
} elseif (!preg_match('/\(' . $this->restTypeList . '\)$/i', $ext)) {
98
- // 资源类型非法 则用默认资源类型访问
+ // 资源类型非法 则用默认资源类型访问
99
$this->type = $this->restDefaultType;
100
} else {
101
$this->type = $ext;
0 commit comments