From 381f90a7359bef6cf4f22efc67a5cd8bcf7f0077 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 13 Dec 2016 15:25:26 +0800 Subject: [PATCH] =?UTF-8?q?confirm=E5=92=8Cdeifferent=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E8=A7=84=E5=88=99=E9=BB=98=E8=AE=A4=E6=8F=90=E7=A4=BA=E8=B0=83?= =?UTF-8?q?=E6=95=B4=20=E6=94=AF=E6=8C=81=E4=BC=A0=E5=85=A5=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E6=AF=94=E8=BE=83=E5=AD=97=E6=AE=B5=E5=90=8D=EF=BC=8C?= =?UTF-8?q?=E4=BE=8B=E5=A6=82=EF=BC=9A=20confirm|repassword,=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Validate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/think/Validate.php b/library/think/Validate.php index 2053ae26..5d838d2a 100644 --- a/library/think/Validate.php +++ b/library/think/Validate.php @@ -72,8 +72,8 @@ class Validate 'expire' => '不在有效期内 :rule', 'allowIp' => '不允许的IP访问', 'denyIp' => '禁止的IP访问', - 'confirm' => ':attribute和字段 :rule 不一致', - 'different' => ':attribute和字段 :rule 不能相同', + 'confirm' => ':attribute和确认字段:2不一致', + 'different' => ':attribute和比较字段:2不能相同', 'egt' => ':attribute必须大于等于 :rule', 'gt' => ':attribute必须大于 :rule', 'elt' => ':attribute必须小于等于 :rule',