|
|
|
@ -32,7 +32,7 @@ class QueryController extends BaseController
|
|
|
|
|
$serverId = trim(I('server_id', ''));
|
|
|
|
|
$gamePlayerName = trim(I('game_player_name', ''));
|
|
|
|
|
$userAccount = trim(I('user_account', ''));
|
|
|
|
|
$orderNumber = trim(I('order_number', ''));
|
|
|
|
|
$payOrderNumber = trim(I('pay_order_number', ''));
|
|
|
|
|
$nowTime = date('Y-m-d');
|
|
|
|
|
$initBegTime = date('Y-m-d', strtotime('-6 day', strtotime($nowTime)));
|
|
|
|
|
$initBegTime = empty(I('begtime')) ? $initBegTime : I('begtime');
|
|
|
|
@ -71,8 +71,8 @@ class QueryController extends BaseController
|
|
|
|
|
if (!empty($userAccount)) {
|
|
|
|
|
$map['tab_spend.user_account'] = $userAccount;
|
|
|
|
|
}
|
|
|
|
|
if (!empty($orderNumber)) {
|
|
|
|
|
$map['tab_spend.order_number'] = $orderNumber;
|
|
|
|
|
if (!empty($payOrderNumber)) {
|
|
|
|
|
$map['tab_spend.pay_order_number'] = $payOrderNumber;
|
|
|
|
|
}
|
|
|
|
|
if (isset($_REQUEST['pay_way']) && $_REQUEST['pay_way'] !== '') {
|
|
|
|
|
$payWay = intval(I('pay_way'));
|
|
|
|
@ -146,7 +146,7 @@ class QueryController extends BaseController
|
|
|
|
|
$list['user_account'] = substr($list['user_account'], 0, 2) . '******' . substr($list['user_account'], 8);
|
|
|
|
|
|
|
|
|
|
//订单隐藏算法
|
|
|
|
|
$orderLen = strlen($list['order_number']);
|
|
|
|
|
$orderLen = strlen($list['pay_order_number']);
|
|
|
|
|
$strLen = 4;
|
|
|
|
|
$hideChar = '';
|
|
|
|
|
|
|
|
|
@ -158,7 +158,7 @@ class QueryController extends BaseController
|
|
|
|
|
$hideChar .= '*';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$list['order_number'] = substr($list['order_number'], 0, $strLen) . $hideChar . substr($list['order_number'], $orderLen - $strLen);
|
|
|
|
|
$list['pay_order_number'] = substr($list['pay_order_number'], 0, $strLen) . $hideChar . substr($list['pay_order_number'], $orderLen - $strLen);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -172,7 +172,7 @@ class QueryController extends BaseController
|
|
|
|
|
$parameter['server_id'] = $serverId;
|
|
|
|
|
$parameter['game_player_name'] = $gamePlayerName;
|
|
|
|
|
$parameter['user_account'] = $userAccount;
|
|
|
|
|
$parameter['order_number'] = $orderNumber;
|
|
|
|
|
$parameter['pay_order_number'] = $payOrderNumber;
|
|
|
|
|
$parameter['own_id'] = $ownId;
|
|
|
|
|
$parameter['level_promote_2'] = $levelPromote[0];
|
|
|
|
|
$parameter['level_promote_3'] = $levelPromote[1];
|
|
|
|
|