调试信用购订单结算
This commit is contained in:
parent
ecb7348376
commit
1496f283b3
@ -2477,7 +2477,7 @@ class StoreOrderRepository extends BaseRepository
|
||||
}
|
||||
$groupOrder->interest->interest = $interest;
|
||||
if ($result === true) {
|
||||
app()->make(MerchantRepository::class)->computedLockMoney($groupOrder->order);
|
||||
app()->make(MerchantRepository::class)->computedLockMoney($groupOrder->orderList[0]);
|
||||
$groupOrder->interest->status = StoreOrderInterest::STATUS_SETTLED;
|
||||
$groupOrder->interest->settle_time = date('Y-m-d H:i:s');
|
||||
|
||||
|
@ -16,9 +16,6 @@ class OrderTake
|
||||
public function handle($event)
|
||||
{
|
||||
$order = $event['order'];
|
||||
if ($order['merchant']['interest_rate'] <= 0) {
|
||||
return true;
|
||||
}
|
||||
/** @var StoreOrderInterestRepository $storeOrderInterestRepository */
|
||||
$storeOrderInterestRepository = app()->make(StoreOrderInterestRepository::class);
|
||||
$merchantId = Merchant::where('uid', $order['uid'])->value('mer_id');
|
||||
|
Loading…
x
Reference in New Issue
Block a user