From 5d52e41dfc4e58786962da3c7975cb4d4bff9784 Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Thu, 17 Sep 2020 22:07:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Model/v3/Feprint.php | 13 +++++++++++++ app/Service/v3/Implementations/FeiePrintService.php | 5 +++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 app/Model/v3/Feprint.php diff --git a/app/Model/v3/Feprint.php b/app/Model/v3/Feprint.php new file mode 100644 index 0000000..4a8bf22 --- /dev/null +++ b/app/Model/v3/Feprint.php @@ -0,0 +1,13 @@ + &$item) { // $item = (array)$item; // } - + $printSn = Feprint::query()->where('market_id',$data->market_id)->value('sn'); $content = $this->printFormat($data, 4, 14, 7, 7); - $res = $this->printMsg('920527381', $content, 1); + $res = $this->printMsg($printSn, $content, 1); return $res; }