|
|
|
@ -1743,6 +1743,25 @@ class QueryController extends BaseController
|
|
|
|
|
}
|
|
|
|
|
$query = M('user_play_info', 'tab_')->where($map)->order('create_time desc');
|
|
|
|
|
list($records, $pagination, $count) = $this->paginate($query);
|
|
|
|
|
// var_dump($records);die();
|
|
|
|
|
foreach ($records as $key => $value) {
|
|
|
|
|
|
|
|
|
|
//订单隐藏算法
|
|
|
|
|
$orderLen = strlen($value['user_account']);
|
|
|
|
|
$strLen = 3;
|
|
|
|
|
$hideChar = '';
|
|
|
|
|
|
|
|
|
|
if($orderLen <=8) {
|
|
|
|
|
$strLen = 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for($i = 0;$i<$orderLen-$strLen*2;$i++) {
|
|
|
|
|
$hideChar .='*';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$records[$key]['user_account'] = substr($value['user_account'], 0, $strLen) . $hideChar . substr($value['user_account'], $orderLen-$strLen);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$games = $this->getGamesByPromote($promote);
|
|
|
|
|
|
|
|
|
|