更新
This commit is contained in:
parent
f0e04cf52c
commit
05133d752b
@ -935,7 +935,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository
|
||||
//创建订单
|
||||
$groupOrder = $storeGroupOrderRepository->create($groupOrder);
|
||||
$bills = [];
|
||||
|
||||
$consumptionDetails=[];
|
||||
if ($groupOrder['integral'] > 0) {
|
||||
$user->integral = bcsub($user->integral, $groupOrder['integral'], 0);
|
||||
app()->make(UserBillRepository::class)->decBill($user['uid'], 'integral', 'deduction', [
|
||||
|
Loading…
x
Reference in New Issue
Block a user