Skip to content

Commit 57fc00f

Browse files
committed
权限检测优化
权限检测优化
1 parent 65750fb commit 57fc00f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/api/controller/Api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function init()
9595
// 自动检测资源类型
9696
$this->type = $request->type();
9797
} elseif (!preg_match('/\(' . $this->restTypeList . '\)$/i', $ext)) {
98-
// 资源类型非法 则用默认资源类型访问
98+
// 资源类型非法 则用默认资源类型访问
9999
$this->type = $this->restDefaultType;
100100
} else {
101101
$this->type = $ext;

0 commit comments

Comments
 (0)