From 0b247e0b6d7cf860b43ed0bf755688a856f9cd9c Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Tue, 25 Mar 2025 16:06:37 +0800 Subject: [PATCH] feat : spu --- app/Amqp/Consumer/Pay/GoodOrderPayFinishConsumer.php | 2 +- app/Service/Amqp/Pay/PayGoodOrderFinishService.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Amqp/Consumer/Pay/GoodOrderPayFinishConsumer.php b/app/Amqp/Consumer/Pay/GoodOrderPayFinishConsumer.php index 2f4a5e3..f46a01c 100644 --- a/app/Amqp/Consumer/Pay/GoodOrderPayFinishConsumer.php +++ b/app/Amqp/Consumer/Pay/GoodOrderPayFinishConsumer.php @@ -50,7 +50,7 @@ class GoodOrderPayFinishConsumer extends ConsumerMessage try { $service = new PayGoodOrderFinishService(); - $service->orderSno = $data['order_sno']; + $service->orderNo = $data['order_sno']; $service->payType = (int)$data['pay_type']; $service->handle(); diff --git a/app/Service/Amqp/Pay/PayGoodOrderFinishService.php b/app/Service/Amqp/Pay/PayGoodOrderFinishService.php index 64eada4..3a642ba 100644 --- a/app/Service/Amqp/Pay/PayGoodOrderFinishService.php +++ b/app/Service/Amqp/Pay/PayGoodOrderFinishService.php @@ -31,7 +31,7 @@ class PayGoodOrderFinishService /** * @var string */ - public string $orderSno; + public string $orderNo; /** * @var int