mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
confirm和deifferent验证规则默认提示调整 支持传入验证比较字段名,例如:
confirm|repassword,确认密码
This commit is contained in:
@@ -72,8 +72,8 @@ class Validate
|
|||||||
'expire' => '不在有效期内 :rule',
|
'expire' => '不在有效期内 :rule',
|
||||||
'allowIp' => '不允许的IP访问',
|
'allowIp' => '不允许的IP访问',
|
||||||
'denyIp' => '禁止的IP访问',
|
'denyIp' => '禁止的IP访问',
|
||||||
'confirm' => ':attribute和字段 :rule 不一致',
|
'confirm' => ':attribute和确认字段:2不一致',
|
||||||
'different' => ':attribute和字段 :rule 不能相同',
|
'different' => ':attribute和比较字段:2不能相同',
|
||||||
'egt' => ':attribute必须大于等于 :rule',
|
'egt' => ':attribute必须大于等于 :rule',
|
||||||
'gt' => ':attribute必须大于 :rule',
|
'gt' => ':attribute必须大于 :rule',
|
||||||
'elt' => ':attribute必须小于等于 :rule',
|
'elt' => ':attribute必须小于等于 :rule',
|
||||||
|
|||||||
Reference in New Issue
Block a user