feat: 添加微信支付和支付宝支付条码支付功能
This commit is contained in:
parent
7c60652624
commit
8faafdf164
@ -65,6 +65,10 @@ class WorkbenchLogic extends BaseLogic
|
||||
$data['order_amount'] = $orderLogic->storeOrderSumByDate($startTime, $endTime, $where);
|
||||
//余额支付总金额
|
||||
$data['balance_amount'] = $orderLogic->storeOrderSumByDate($startTime, $endTime, array_merge($where, ['pay_type' => PayEnum::BALANCE_PAY]));
|
||||
//微信条码支付总金额
|
||||
$data['wechat_code_amount'] = $orderLogic->storeOrderSumByDate($startTime, $endTime, array_merge($where, ['pay_type' => PayEnum::WECHAT_PAY_BARCODE]));
|
||||
//支付条码支付总金额
|
||||
$data['alipay_code_amount'] = $orderLogic->storeOrderSumByDate($startTime, $endTime, array_merge($where, ['pay_type' => PayEnum::ALIPAY_BARCODE]));
|
||||
//线下收银总金额
|
||||
$data['cashier_amount'] = $orderLogic->storeOrderSumByDate($startTime, $endTime, array_merge($where, ['shipping_type' => 3]));
|
||||
//现金收银总金额
|
||||
|
Loading…
x
Reference in New Issue
Block a user