|
|
@ -198,6 +198,8 @@ class PayChannelController extends ThinkController
|
|
|
|
$payTypeData['支付宝支付金额'] = 0;
|
|
|
|
$payTypeData['支付宝支付金额'] = 0;
|
|
|
|
$payTypeData['微信支付金额'] = 0;
|
|
|
|
$payTypeData['微信支付金额'] = 0;
|
|
|
|
$payTypeData['快捷支付金额'] = 0;
|
|
|
|
$payTypeData['快捷支付金额'] = 0;
|
|
|
|
|
|
|
|
$payTypeData['苹果支付金额'] = 0;
|
|
|
|
|
|
|
|
$payTypeData['易宝支付金额'] = 0;
|
|
|
|
$payTypeData['其他支付金额'] = 0;
|
|
|
|
$payTypeData['其他支付金额'] = 0;
|
|
|
|
|
|
|
|
|
|
|
|
foreach($channelData as $key => $value) {
|
|
|
|
foreach($channelData as $key => $value) {
|
|
|
@ -208,6 +210,10 @@ class PayChannelController extends ThinkController
|
|
|
|
$payTypeData['微信支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
$payTypeData['微信支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
} else if ($value['pay_way']==15) {
|
|
|
|
} else if ($value['pay_way']==15) {
|
|
|
|
$payTypeData['快捷支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
$payTypeData['快捷支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
|
|
|
|
} else if($value['pay_way'] ==7){
|
|
|
|
|
|
|
|
$payTypeData['苹果支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
|
|
|
|
} else if($value['pay_way'] ==17){
|
|
|
|
|
|
|
|
$payTypeData['易宝支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
} else if($value['pay_way']){
|
|
|
|
} else if($value['pay_way']){
|
|
|
|
$payTypeData['其他支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
$payTypeData['其他支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1047,6 +1053,10 @@ class PayChannelController extends ThinkController
|
|
|
|
$data[$key]['pay_way'] = '微信支付';
|
|
|
|
$data[$key]['pay_way'] = '微信支付';
|
|
|
|
} else if ($value['pay_way']==15) {
|
|
|
|
} else if ($value['pay_way']==15) {
|
|
|
|
$data[$key]['pay_way'] = '快捷支付';
|
|
|
|
$data[$key]['pay_way'] = '快捷支付';
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==7) {
|
|
|
|
|
|
|
|
$data[$key]['pay_way'] = '苹果支付';
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==17) {
|
|
|
|
|
|
|
|
$data[$key]['pay_way'] = '易宝支付';
|
|
|
|
} else if($value['pay_way']){
|
|
|
|
} else if($value['pay_way']){
|
|
|
|
$data[$key]['pay_way'] = '其他支付';
|
|
|
|
$data[$key]['pay_way'] = '其他支付';
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1121,6 +1131,10 @@ class PayChannelController extends ThinkController
|
|
|
|
$data[$key]['pay_way'] = '微信支付';
|
|
|
|
$data[$key]['pay_way'] = '微信支付';
|
|
|
|
} else if ($value['pay_way']==15) {
|
|
|
|
} else if ($value['pay_way']==15) {
|
|
|
|
$data[$key]['pay_way'] = '快捷支付';
|
|
|
|
$data[$key]['pay_way'] = '快捷支付';
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==7) {
|
|
|
|
|
|
|
|
$data[$key]['pay_way'] = '苹果支付';
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==17) {
|
|
|
|
|
|
|
|
$data[$key]['pay_way'] = '易宝支付';
|
|
|
|
} else if($value['pay_way']){
|
|
|
|
} else if($value['pay_way']){
|
|
|
|
$data[$key]['pay_way'] = '其他支付';
|
|
|
|
$data[$key]['pay_way'] = '其他支付';
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1163,6 +1177,10 @@ class PayChannelController extends ThinkController
|
|
|
|
$data[$key]['pay_way'] = '微信支付';
|
|
|
|
$data[$key]['pay_way'] = '微信支付';
|
|
|
|
} else if ($value['pay_way']==15) {
|
|
|
|
} else if ($value['pay_way']==15) {
|
|
|
|
$data[$key]['pay_way'] = '快捷支付';
|
|
|
|
$data[$key]['pay_way'] = '快捷支付';
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==7) {
|
|
|
|
|
|
|
|
$data[$key]['pay_way'] = '苹果支付';
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==17) {
|
|
|
|
|
|
|
|
$data[$key]['pay_way'] = '易宝支付';
|
|
|
|
} else if($value['pay_way']){
|
|
|
|
} else if($value['pay_way']){
|
|
|
|
$data[$key]['pay_way'] = '其他支付';
|
|
|
|
$data[$key]['pay_way'] = '其他支付';
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1212,6 +1230,8 @@ class PayChannelController extends ThinkController
|
|
|
|
$payTypeData['支付宝支付金额'] = 0;
|
|
|
|
$payTypeData['支付宝支付金额'] = 0;
|
|
|
|
$payTypeData['微信支付金额'] = 0;
|
|
|
|
$payTypeData['微信支付金额'] = 0;
|
|
|
|
$payTypeData['快捷支付金额'] = 0;
|
|
|
|
$payTypeData['快捷支付金额'] = 0;
|
|
|
|
|
|
|
|
$payTypeData['苹果支付金额'] = 0;
|
|
|
|
|
|
|
|
$payTypeData['易宝支付金额'] = 0;
|
|
|
|
$payTypeData['其他支付金额'] = 0;
|
|
|
|
$payTypeData['其他支付金额'] = 0;
|
|
|
|
|
|
|
|
|
|
|
|
foreach($sumData as $key => $value) {
|
|
|
|
foreach($sumData as $key => $value) {
|
|
|
@ -1222,6 +1242,10 @@ class PayChannelController extends ThinkController
|
|
|
|
$payTypeData['微信支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
$payTypeData['微信支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
} else if ($value['pay_way']==15) {
|
|
|
|
} else if ($value['pay_way']==15) {
|
|
|
|
$payTypeData['快捷支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
$payTypeData['快捷支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==7) {
|
|
|
|
|
|
|
|
$payTypeData['苹果支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==17) {
|
|
|
|
|
|
|
|
$payTypeData['易宝支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
} else if($value['pay_way']){
|
|
|
|
} else if($value['pay_way']){
|
|
|
|
$payTypeData['其他支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
$payTypeData['其他支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1232,6 +1256,9 @@ class PayChannelController extends ThinkController
|
|
|
|
$payTypeData['微信支付金额'] = number_format($payTypeData['微信支付金额'],2,'.','');
|
|
|
|
$payTypeData['微信支付金额'] = number_format($payTypeData['微信支付金额'],2,'.','');
|
|
|
|
$payTypeData['快捷支付金额'] = number_format($payTypeData['快捷支付金额'],2,'.','');
|
|
|
|
$payTypeData['快捷支付金额'] = number_format($payTypeData['快捷支付金额'],2,'.','');
|
|
|
|
$payTypeData['其他支付金额'] = number_format($payTypeData['其他支付金额'],2,'.','');
|
|
|
|
$payTypeData['其他支付金额'] = number_format($payTypeData['其他支付金额'],2,'.','');
|
|
|
|
|
|
|
|
$payTypeData['苹果支付金额'] = number_format($payTypeData['苹果支付金额'],2,'.','');
|
|
|
|
|
|
|
|
$payTypeData['易宝支付金额'] = number_format($payTypeData['易宝支付金额'],2,'.','');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$this->assign('payTypeData',$payTypeData);
|
|
|
|
$this->assign('payTypeData',$payTypeData);
|
|
|
|
|
|
|
|
|
|
|
@ -1387,6 +1414,10 @@ class PayChannelController extends ThinkController
|
|
|
|
$value['pay_way'] = '微信支付';
|
|
|
|
$value['pay_way'] = '微信支付';
|
|
|
|
} else if ($value['pay_way'] == 15) {
|
|
|
|
} else if ($value['pay_way'] == 15) {
|
|
|
|
$value['pay_way'] = '快捷支付';
|
|
|
|
$value['pay_way'] = '快捷支付';
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==7) {
|
|
|
|
|
|
|
|
$data[$key]['pay_way'] = '苹果支付';
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==17) {
|
|
|
|
|
|
|
|
$data[$key]['pay_way'] = '易宝支付';
|
|
|
|
} else if ($value['pay_way']) {
|
|
|
|
} else if ($value['pay_way']) {
|
|
|
|
$value['pay_way'] = '其他支付';
|
|
|
|
$value['pay_way'] = '其他支付';
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1488,6 +1519,10 @@ class PayChannelController extends ThinkController
|
|
|
|
$value['pay_way'] = '微信支付';
|
|
|
|
$value['pay_way'] = '微信支付';
|
|
|
|
} else if ($value['pay_way'] == 15) {
|
|
|
|
} else if ($value['pay_way'] == 15) {
|
|
|
|
$value['pay_way'] = '快捷支付';
|
|
|
|
$value['pay_way'] = '快捷支付';
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==7) {
|
|
|
|
|
|
|
|
$data[$key]['pay_way'] = '苹果支付';
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==17) {
|
|
|
|
|
|
|
|
$data[$key]['pay_way'] = '易宝支付';
|
|
|
|
} else if ($value['pay_way']) {
|
|
|
|
} else if ($value['pay_way']) {
|
|
|
|
$value['pay_way'] = '其他支付';
|
|
|
|
$value['pay_way'] = '其他支付';
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1552,6 +1587,10 @@ class PayChannelController extends ThinkController
|
|
|
|
$value['pay_way'] = '微信支付';
|
|
|
|
$value['pay_way'] = '微信支付';
|
|
|
|
} else if ($value['pay_way'] == 15) {
|
|
|
|
} else if ($value['pay_way'] == 15) {
|
|
|
|
$value['pay_way'] = '快捷支付';
|
|
|
|
$value['pay_way'] = '快捷支付';
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==7) {
|
|
|
|
|
|
|
|
$data[$key]['pay_way'] = '苹果支付';
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==17) {
|
|
|
|
|
|
|
|
$data[$key]['pay_way'] = '易宝支付';
|
|
|
|
} else if ($value['pay_way']) {
|
|
|
|
} else if ($value['pay_way']) {
|
|
|
|
$value['pay_way'] = '其他支付';
|
|
|
|
$value['pay_way'] = '其他支付';
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1598,6 +1637,8 @@ class PayChannelController extends ThinkController
|
|
|
|
$payTypeData['微信支付金额'] = 0;
|
|
|
|
$payTypeData['微信支付金额'] = 0;
|
|
|
|
$payTypeData['快捷支付金额'] = 0;
|
|
|
|
$payTypeData['快捷支付金额'] = 0;
|
|
|
|
$payTypeData['其他支付金额'] = 0;
|
|
|
|
$payTypeData['其他支付金额'] = 0;
|
|
|
|
|
|
|
|
$payTypeData['苹果支付金额'] = number_format($payTypeData['苹果支付金额'],2,'.','');
|
|
|
|
|
|
|
|
$payTypeData['易宝支付金额'] = number_format($payTypeData['易宝支付金额'],2,'.','');
|
|
|
|
|
|
|
|
|
|
|
|
foreach($sumData as $key => $value) {
|
|
|
|
foreach($sumData as $key => $value) {
|
|
|
|
|
|
|
|
|
|
|
@ -1607,6 +1648,10 @@ class PayChannelController extends ThinkController
|
|
|
|
$payTypeData['微信支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
$payTypeData['微信支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
} else if ($value['pay_way']==15) {
|
|
|
|
} else if ($value['pay_way']==15) {
|
|
|
|
$payTypeData['快捷支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
$payTypeData['快捷支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==7) {
|
|
|
|
|
|
|
|
$payTypeData['苹果支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
|
|
|
|
} else if ($value['pay_way']==17) {
|
|
|
|
|
|
|
|
$payTypeData['易宝支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
} else if($value['pay_way']){
|
|
|
|
} else if($value['pay_way']){
|
|
|
|
$payTypeData['其他支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
$payTypeData['其他支付金额'] += number_format($value['pay_amount'],2,'.','');
|
|
|
|
}
|
|
|
|
}
|
|
|
|