更新限制

This commit is contained in:
mkm 2024-01-22 00:29:53 +08:00
parent dc69ce86ce
commit 80f744c1b3

View File

@ -568,7 +568,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository
$pay_price = $org_price;
}
//计算总红包金额
if ($consumption_id > 0) {
if ($consumption_id > 0 && $pay_price>=6) {
if ($this->store_consumption_user) {
if ($this->store_consumption_user['type'] == 2) {
$a = bcdiv($pay_price, 6);