From e09e6e6dc1876563887455fafe66180fb15e73dd Mon Sep 17 00:00:00 2001 From: liangyuyan <1103300295@qq.com> Date: Thu, 13 Aug 2020 20:42:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Console/Commands/couponReport.php | 116 ++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 app/Console/Commands/couponReport.php diff --git a/app/Console/Commands/couponReport.php b/app/Console/Commands/couponReport.php new file mode 100644 index 0000000..1af974f --- /dev/null +++ b/app/Console/Commands/couponReport.php @@ -0,0 +1,116 @@ +table(['优惠券标题','使用优惠券消费总额(实付总金额)','订单总额(不包含配送费,含包装费)','配送费','优惠总金额','总订单数量'],$orderArray); + $this->table(['ID','优惠券标题','满足金额','优惠金额','发放数量','已领取数量','使用数量'],$receiveArray); + $this->table(['序号','使用状态','用户ID','订单号','订单金额','优惠券种类','用户昵称','用户姓名','用户电话','用户地址'],$listArray); + return 0; + } +}