diff --git a/app/Listener/RefundGoodOrderFinishStatementListener.php b/app/Listener/RefundGoodOrderFinishStatementListener.php index 5917e8f..d5f6548 100644 --- a/app/Listener/RefundGoodOrderFinishStatementListener.php +++ b/app/Listener/RefundGoodOrderFinishStatementListener.php @@ -35,7 +35,7 @@ class RefundGoodOrderFinishStatementListener implements ListenerInterface public function listen(): array { return [ -// RefundGoodOrderFinishEvent::class, + RefundGoodOrderFinishEvent::class, ]; } @@ -114,7 +114,7 @@ class RefundGoodOrderFinishStatementListener implements ListenerInterface $skuIds = $this->orderGoodModel->whereIn('id',$refundOrderGoodIds)->pluck('quantity','sku_id')->toArray(); - + //todo first } private function rollBackFinancesData(): void diff --git a/app/Service/Admin/Order/FinishService.php b/app/Service/Admin/Order/FinishService.php index d9e2670..601564d 100644 --- a/app/Service/Admin/Order/FinishService.php +++ b/app/Service/Admin/Order/FinishService.php @@ -76,7 +76,7 @@ class FinishService extends BaseService ]); $this->producer->produce($financesMessage); - // + return $this->return->success(); }