diff --git a/application/admin/controller/shopro/commission/Level.php b/application/admin/controller/shopro/commission/Level.php index 9be5a42..21d4518 100755 --- a/application/admin/controller/shopro/commission/Level.php +++ b/application/admin/controller/shopro/commission/Level.php @@ -54,7 +54,7 @@ class Level extends Common return $this->view->fetch(); } - $params = $this->request->only(['name', 'level', 'image', 'commission_rules', 'upgrade_type', 'upgrade_rules']); + $params = $this->request->only(['name', 'level', 'image', 'commission_rules', 'upgrade_type', 'upgrade_rules', 'coupon_rules', 'total_consume']); $this->model->save($params); @@ -72,7 +72,7 @@ class Level extends Common return $this->view->fetch('add'); } - $params = $this->request->only(['level', 'name', 'image', 'commission_rules', 'upgrade_type', 'upgrade_rules']); + $params = $this->request->only(['level', 'name', 'image', 'commission_rules', 'upgrade_type', 'upgrade_rules', 'coupon_rules', 'total_consume']); $result = Db::transaction(function () use ($id, $params) { diff --git a/application/admin/view/shopro/commission/level/add.html b/application/admin/view/shopro/commission/level/add.html index 8cf5029..77bae24 100755 --- a/application/admin/view/shopro/commission/level/add.html +++ b/application/admin/view/shopro/commission/level/add.html @@ -89,94 +89,138 @@ - - + + + + + - - - - - - - - - - - - - - + + 选择商品券 + + - - + - - - - - - - - + + + + + + + + + + + + + + + + +