From f0ff4a3e7ff0988086c1f3fb1a16ffb939566620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Sat, 18 Feb 2023 10:48:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86pc=E6=98=BE=E7=A4=BA=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E6=80=BB=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/order/StoreOrderServices.php | 1 + 1 file changed, 1 insertion(+) diff --git a/crmeb/app/services/order/StoreOrderServices.php b/crmeb/app/services/order/StoreOrderServices.php index fa458428b..3ebf5198b 100644 --- a/crmeb/app/services/order/StoreOrderServices.php +++ b/crmeb/app/services/order/StoreOrderServices.php @@ -171,6 +171,7 @@ class StoreOrderServices extends BaseServices $data['refunded_count'] = (string)$storeOrderRefundServices->count($refund_where + ['refund_type' => 6]); $data['refund_count'] = bcadd(bcadd($data['refunding_count'], $data['refunded_count'], 0), $data['no_refund_count'], 0); $data['yue_pay_status'] = (int)sys_config('balance_func_status') && (int)sys_config('yue_pay_status') == 1 ? (int)1 : (int)2;//余额支付 1 开启 2 关闭 + $data['pc_order_count'] = $data['order_count'] + $data['refunding_count'] + $data['refunded_count']; $data['pay_weixin_open'] = is_wecaht_pay();//微信支付 1 开启 0 关闭 $data['ali_pay_status'] = is_ali_pay();//支付包支付 1 开启 0 关闭 $data['friend_pay_status'] = (int)sys_config('friend_pay_status') ?? 0;//好友代付 1 开启 0 关闭