mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
@@ -89,7 +89,7 @@ return [
|
|||||||
'url_route_must' => false,
|
'url_route_must' => false,
|
||||||
// 域名部署
|
// 域名部署
|
||||||
'url_domain_deploy' => false,
|
'url_domain_deploy' => false,
|
||||||
// 域名根,如.thinkphp.cn
|
// 域名根,如thinkphp.cn
|
||||||
'url_domain_root' => '',
|
'url_domain_root' => '',
|
||||||
// 是否自动转换URL中的控制器和操作名
|
// 是否自动转换URL中的控制器和操作名
|
||||||
'url_convert' => true,
|
'url_convert' => true,
|
||||||
|
|||||||
@@ -546,7 +546,7 @@ class Validate
|
|||||||
$result = is_numeric($value);
|
$result = is_numeric($value);
|
||||||
break;
|
break;
|
||||||
case 'integer':
|
case 'integer':
|
||||||
// 是否为整形
|
// 是否为整型
|
||||||
$result = $this->filter($value, FILTER_VALIDATE_INT);
|
$result = $this->filter($value, FILTER_VALIDATE_INT);
|
||||||
break;
|
break;
|
||||||
case 'email':
|
case 'email':
|
||||||
|
|||||||
Reference in New Issue
Block a user