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