From 116aa0a96cb0ece82ff8f99133b6a6eff537a9a2 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Fri, 5 Nov 2021 15:04:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A5=A8=E6=89=93=E5=8D=B0=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/listener/notice/Notice.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crmeb/app/listener/notice/Notice.php b/crmeb/app/listener/notice/Notice.php index b51fb1f07..7219c1cc3 100644 --- a/crmeb/app/listener/notice/Notice.php +++ b/crmeb/app/listener/notice/Notice.php @@ -104,7 +104,9 @@ class Notice implements ListenerInterface $RoutineTemplateList->sendOrderSuccess($data['uid'], $data['pay_price'], $data['order_id']); } //小票打印 - $NoticeService->orderPrint($data); + if (isset($data['cart_id']) && $data['cart_id']) { + $NoticeService->orderPrint($data); + } break; //发货给用户 case 'order_deliver_success':