This commit is contained in:
mkm 2024-01-21 10:13:25 +08:00
parent 344e2c67ba
commit 7895d82ce4

View File

@ -574,6 +574,11 @@ class StoreOrderCreateRepository extends StoreOrderRepository
$consumption_money=$store_consumption_user['balance']; $consumption_money=$store_consumption_user['balance'];
} }
} }
if($store_consumption_user['type']==1){
$pay_price = bcsub($pay_price, $store_consumption_user['balance'], 2);
$consumption_money=$store_consumption_user['balance'];
}
}
} }
} }