From 851349981a385945a8516cf437a2820130a1a668 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 11 Jun 2024 14:09:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(PayNotifyLogic):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E9=80=9A=E7=9F=A5=E9=80=BB=E8=BE=91=EF=BC=8C?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86=E8=AE=A2=E5=8D=95=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/logic/PayNotifyLogic.php | 2 +- app/queue/redis/PushDeliverySend.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/common/logic/PayNotifyLogic.php b/app/common/logic/PayNotifyLogic.php index 971bf227..8f3bbbde 100644 --- a/app/common/logic/PayNotifyLogic.php +++ b/app/common/logic/PayNotifyLogic.php @@ -127,7 +127,7 @@ class PayNotifyLogic extends BaseLogic // Db::name('order_middle')->insert(['c_order_id' => $order['id']]); } if (!empty($extra['payer']['openid']) && $order->pay_type == 7) { - Redis::send('push-delivery', ['order_sn' => $order['order_id'], 'openid' => $extra['payer']['openid']], 5); + Redis::send('push-delivery', ['order_id' => $order['order_id'], 'openid' => $extra['payer']['openid']], 5); } return true; } diff --git a/app/queue/redis/PushDeliverySend.php b/app/queue/redis/PushDeliverySend.php index 92ac7301..49dec130 100644 --- a/app/queue/redis/PushDeliverySend.php +++ b/app/queue/redis/PushDeliverySend.php @@ -7,6 +7,7 @@ use Webman\RedisQueue\Consumer; use support\Log; +/**小程序发货 */ class PushDeliverySend implements Consumer { // 要消费的队列名