游戏订单查看-》导出通知成功数据

master
liuweiwen 5 years ago
parent 6dbfd09e91
commit bc28933369

@ -7208,7 +7208,7 @@ class ExportController extends Controller
$map['_string'] .= " pay_time < {$timeend}"; $map['_string'] .= " pay_time < {$timeend}";
} }
$map['pay_status'] = 1; $map['pay_game_status'] = 1;
if (!empty(I("game_id"))) { if (!empty(I("game_id"))) {
$map['game_id'] = I("game_id"); $map['game_id'] = I("game_id");
} }
@ -7224,6 +7224,7 @@ class ExportController extends Controller
$order = "pay_time DESC"; $order = "pay_time DESC";
$xlsData = D('spend')->getSpendData($map,$field,$group,$order); $xlsData = D('spend')->getSpendData($map,$field,$group,$order);
// dd(D("spend")->_sql());
foreach($xlsData as $key => $value) { foreach($xlsData as $key => $value) {
$xlsData[$key]['pay_way'] = getPayType($value['pay_way']); $xlsData[$key]['pay_way'] = getPayType($value['pay_way']);
} }

Loading…
Cancel
Save