diff --git a/app/Amqp/Consumer/Pay/GoodOrderPayFinishConsumer.php b/app/Amqp/Consumer/Pay/GoodOrderPayFinishConsumer.php index f46a01c..0fb1920 100644 --- a/app/Amqp/Consumer/Pay/GoodOrderPayFinishConsumer.php +++ b/app/Amqp/Consumer/Pay/GoodOrderPayFinishConsumer.php @@ -4,6 +4,7 @@ declare(strict_types=1); namespace App\Amqp\Consumer\Pay; +use App\Constants\Common\OrderCode; use App\Exception\ErrException; use App\Lib\Log; use App\Service\Amqp\Pay\PayGoodOrderFinishService; @@ -52,6 +53,7 @@ class GoodOrderPayFinishConsumer extends ConsumerMessage $service->orderNo = $data['order_sno']; $service->payType = (int)$data['pay_type']; + $service->orderType = OrderCode::ORDER_TYPE_GOOD; $service->handle(); } catch (Exception|ErrException $e) {