新增配置
This commit is contained in:
parent
691518c8c8
commit
c6c0446c4e
@ -7,11 +7,15 @@ return [
|
|||||||
'domain' => '',
|
'domain' => '',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set error page
|
* 权限不验证 get 请求
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
'error' => root_path('catch/index/view/') . 'error.html',
|
'is_allow_get' => true,
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* auth 认证
|
||||||
|
*
|
||||||
|
*/
|
||||||
'auth' => [
|
'auth' => [
|
||||||
// 默认
|
// 默认
|
||||||
'default' => [
|
'default' => [
|
||||||
@ -34,6 +38,10 @@ return [
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 自定义验证规则
|
||||||
|
*
|
||||||
|
*/
|
||||||
'validates' => [
|
'validates' => [
|
||||||
\catcher\validates\Sometimes::class,
|
\catcher\validates\Sometimes::class,
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user