|
@@ -74,17 +74,17 @@ class Overview extends Backend
|
|
|
$payTypeList1 = [];
|
|
|
foreach ($orderList as $k => $v) {
|
|
|
if($v['pay_type'] == 1){
|
|
|
- $v['pay_type'] = '企业网银支付';
|
|
|
+ $v['pay_type'] = '企业网银';
|
|
|
}elseif ($v['pay_type'] == 2){
|
|
|
- $v['pay_type'] = '微信支付';
|
|
|
+ $v['pay_type'] = '微信';
|
|
|
}elseif ($v['pay_type'] == 3){
|
|
|
- $v['pay_type'] = '支付宝支付';
|
|
|
+ $v['pay_type'] = '支付宝';
|
|
|
}elseif ($v['pay_type'] == 4){
|
|
|
- $v['pay_type'] = '银联支付';
|
|
|
+ $v['pay_type'] = '银联';
|
|
|
}elseif ($v['pay_type'] == 5){
|
|
|
- $v['pay_type'] = '代付支付';
|
|
|
+ $v['pay_type'] = '代付';
|
|
|
}elseif ($v['pay_type'] == 6){
|
|
|
- $v['pay_type'] = '线下支付支付';
|
|
|
+ $v['pay_type'] = '线下支付';
|
|
|
}
|
|
|
$rate = 0;
|
|
|
if($payTotalCount > 0)$rate = round($v['nums']/$payTotalCount,2)*100;
|