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('最低申请额度不能高于或等于最高申请额度'); }