|
|
@ -22,6 +22,11 @@ class QueryController extends BaseController
|
|
|
|
2 => '微信',
|
|
|
|
2 => '微信',
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static $payStatus = [
|
|
|
|
|
|
|
|
0 => '下单未支付',
|
|
|
|
|
|
|
|
1 => '充值成功',
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
public function recharge($p = 0)
|
|
|
|
public function recharge($p = 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$page = intval(I('p', 1));
|
|
|
|
$page = intval(I('p', 1));
|
|
|
@ -85,8 +90,14 @@ class QueryController extends BaseController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (isset($_REQUEST['pay_status']) && $_REQUEST['pay_status'] !== '') {
|
|
|
|
|
|
|
|
$payStatus = intval(I('pay_status'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (in_array($payStatus, array_keys(QueryController::$payStatus))) {
|
|
|
|
|
|
|
|
$map['tab_spend.pay_status'] = $payStatus;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
$map['tab_spend.pay_time'] = ['between', [$begTime, $endTime - 1]];
|
|
|
|
$map['tab_spend.pay_time'] = ['between', [$begTime, $endTime - 1]];
|
|
|
|
$map['tab_spend.pay_status'] = 1;
|
|
|
|
|
|
|
|
$map['tab_spend.is_check'] = ['neq', 2];
|
|
|
|
$map['tab_spend.is_check'] = ['neq', 2];
|
|
|
|
|
|
|
|
|
|
|
|
$data = [];
|
|
|
|
$data = [];
|
|
|
@ -161,6 +172,8 @@ class QueryController extends BaseController
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$list['user_account'] = substr($list['user_account'], 0, 2) . '******' . substr($list['user_account'], 8);
|
|
|
|
$list['user_account'] = substr($list['user_account'], 0, 2) . '******' . substr($list['user_account'], 8);
|
|
|
|
|
|
|
|
$list['pay_status'] = isset(QueryController::$payStatus[$list['pay_status']]) ? QueryController::$payStatus[$list['pay_status']] : '未知状态';
|
|
|
|
|
|
|
|
$list['sdk_version'] = getSDKTypeName($list['sdk_version']);
|
|
|
|
|
|
|
|
|
|
|
|
//订单隐藏算法
|
|
|
|
//订单隐藏算法
|
|
|
|
$orderLen = strlen($list['pay_order_number']);
|
|
|
|
$orderLen = strlen($list['pay_order_number']);
|
|
|
@ -210,6 +223,7 @@ class QueryController extends BaseController
|
|
|
|
$this->assign('serverData', $serverData['data']);
|
|
|
|
$this->assign('serverData', $serverData['data']);
|
|
|
|
$this->assign('ownId', $ownId);
|
|
|
|
$this->assign('ownId', $ownId);
|
|
|
|
$this->assign('payWayData', QueryController::$payWay);
|
|
|
|
$this->assign('payWayData', QueryController::$payWay);
|
|
|
|
|
|
|
|
$this->assign('payStatusData', QueryController::$payStatus);
|
|
|
|
$this->meta_title = "订单查询";
|
|
|
|
$this->meta_title = "订单查询";
|
|
|
|
$this->display();
|
|
|
|
$this->display();
|
|
|
|
}
|
|
|
|
}
|
|
|
|