diff --git a/app/controller/manager/Config.php b/app/controller/manager/Config.php index 173c00c..4204374 100644 --- a/app/controller/manager/Config.php +++ b/app/controller/manager/Config.php @@ -4,6 +4,7 @@ namespace app\controller\manager; use app\model\CommentRule; +use app\model\CouponMain; use Exception; use think\exception\ValidateException; use think\facade\Config as CConfig; @@ -207,6 +208,7 @@ class Config extends Base } else { CConfig::load('extra/distribution_proportion', 'distributionProportion'); $this->data['item'] = config('distributionProportion'); + $this->data['minPrice'] = CouponMain::min_redpack_money; return $this->view(); } } @@ -234,6 +236,7 @@ class Config extends Base } else { CConfig::load('extra/distribution_proportion_user', 'distributionProportionUser'); $this->data['item'] = config('distributionProportionUser'); + $this->data['minPrice'] = CouponMain::min_redpack_money; return $this->view(); } } diff --git a/view/manager/config/distribution_proportion.html b/view/manager/config/distribution_proportion.html index 4ee8b78..74682f1 100644 --- a/view/manager/config/distribution_proportion.html +++ b/view/manager/config/distribution_proportion.html @@ -10,7 +10,7 @@