From 1e24fadb797a19c8d0a4ea665564c09531d24df0 Mon Sep 17 00:00:00 2001 From: liuweiwen <“529520975@qq.com> Date: Wed, 26 Feb 2020 16:01:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E4=BD=8E=E7=94=B3=E8=AF=B7=E9=A2=9D?= =?UTF-8?q?=E5=BA=A6=E4=B8=8E=E6=9C=80=E9=AB=98=E7=94=B3=E8=AF=B7=E9=A2=9D?= =?UTF-8?q?=E5=BA=A6=E4=B8=8D=E8=83=BD=E5=B0=8F=E4=BA=8E0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ResourceVerifyConfigController.class.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Application/Admin/Controller/ResourceVerifyConfigController.class.php b/Application/Admin/Controller/ResourceVerifyConfigController.class.php index 9d11f32aa..344b27b44 100644 --- a/Application/Admin/Controller/ResourceVerifyConfigController.class.php +++ b/Application/Admin/Controller/ResourceVerifyConfigController.class.php @@ -108,6 +108,12 @@ class ResourceVerifyConfigController extends ThinkController if (I('new_apply_count') < 0) { $this->error('新用户判断标准不能小于0'); } + if (I('new_low_value') < 0) { + $this->error('最低申请额度不能小于0'); + } + if (I('new_high_value') < 0) { + $this->error('最高申请额度不能小于0'); + } if (I('new_low_value') >= I('new_high_value')) { $this->error('最低申请额度不能高于或等于最高申请额度'); } @@ -171,6 +177,12 @@ class ResourceVerifyConfigController extends ThinkController if (I('new_apply_count') < 0) { $this->error('新用户判断标准不能小于0'); } + if (I('new_low_value') < 0) { + $this->error('最低申请额度不能小于0'); + } + if (I('new_high_value') < 0) { + $this->error('最高申请额度不能小于0'); + } if (I('new_low_value') >= I('new_high_value')) { $this->error('最低申请额度不能高于或等于最高申请额度'); }