|
|
|
@ -218,6 +218,7 @@ class PayChannelController extends ThinkController
|
|
|
|
|
}
|
|
|
|
|
$testorderChannelArr = [];
|
|
|
|
|
foreach($channelData as $key=>$value) {
|
|
|
|
|
if($testOrderChannelDatas) {
|
|
|
|
|
foreach($testOrderChannelDatas as $trkey => $testOrderChannelData) {
|
|
|
|
|
if(intval($value['pay_way']) == intval($testOrderChannelData['pay_way'])) {
|
|
|
|
|
$channelData[$key]['pay_amount'] = number_format(($value['pay_amount'] + $testOrderChannelData['pay_amount']) ,2,'.','');
|
|
|
|
@ -235,7 +236,10 @@ class PayChannelController extends ThinkController
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
// $channelData[$key]['pay_way'] = get_pay_way($value['pay_way']);
|
|
|
|
|
} else {
|
|
|
|
|
$channelData[$key]['pay_amount'] = number_format($value['pay_amount'],2,'.','');
|
|
|
|
|
$channelData[$key]['pay_way'] = get_pay_way($value['pay_way']);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!$value['pay_way']) {
|
|
|
|
|
unset($channelData[$key]);
|
|
|
|
|