mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-09 16:12:49 +08:00
验证错误信息补充
This commit is contained in:
@@ -38,6 +38,7 @@ class Validate
|
|||||||
protected static $typeMsg = [
|
protected static $typeMsg = [
|
||||||
'require' => ':attribute不能为空',
|
'require' => ':attribute不能为空',
|
||||||
'number' => ':attribute必须是数字',
|
'number' => ':attribute必须是数字',
|
||||||
|
'integer' => ':attribute必须是整数',
|
||||||
'float' => ':attribute必须是浮点数',
|
'float' => ':attribute必须是浮点数',
|
||||||
'boolean' => ':attribute必须是布尔值',
|
'boolean' => ':attribute必须是布尔值',
|
||||||
'email' => ':attribute格式不符',
|
'email' => ':attribute格式不符',
|
||||||
|
|||||||
Reference in New Issue
Block a user