Skip to content

Commit 7601029

Browse files
committed
增加白名单示例
增加白名单示例
1 parent 81cd979 commit 7601029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/api/controller/v1/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class User extends Api
1717
* 所有方法都不需要鉴权
1818
* [*]
1919
*/
20-
protected $noAuth = [];
20+
protected $noAuth = ['create'];
2121

2222
/**
2323
* 显示资源列表

0 commit comments

Comments
 (0)