diff --git a/convention.php b/convention.php index 6a841a30..133dbd36 100644 --- a/convention.php +++ b/convention.php @@ -89,7 +89,7 @@ return [ 'url_route_must' => false, // 域名部署 'url_domain_deploy' => false, - // 域名根,如.thinkphp.cn + // 域名根,如thinkphp.cn 'url_domain_root' => '', // 是否自动转换URL中的控制器和操作名 'url_convert' => true, diff --git a/library/think/Validate.php b/library/think/Validate.php index 475edbc9..471bb150 100644 --- a/library/think/Validate.php +++ b/library/think/Validate.php @@ -546,7 +546,7 @@ class Validate $result = is_numeric($value); break; case 'integer': - // 是否为整形 + // 是否为整型 $result = $this->filter($value, FILTER_VALIDATE_INT); break; case 'email':