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 @@
- +
@@ -20,7 +20,7 @@
- +
@@ -30,11 +30,15 @@
- +
+
+ 红包金额最小{$minPrice}元 当前比例最小扣除金额 : +
+
@@ -44,4 +48,24 @@
- \ No newline at end of file + + + + \ No newline at end of file diff --git a/view/manager/config/distribution_proportion_user.html b/view/manager/config/distribution_proportion_user.html index c68fb05..3176318 100644 --- a/view/manager/config/distribution_proportion_user.html +++ b/view/manager/config/distribution_proportion_user.html @@ -10,7 +10,7 @@
- +
@@ -20,7 +20,7 @@
- +
@@ -29,10 +29,13 @@
- +
+
+ 红包金额最小{$minPrice}元 当前比例最小扣除金额 : +
@@ -43,4 +46,24 @@ - \ No newline at end of file + + + + \ No newline at end of file