推广
This commit is contained in:
@@ -14,13 +14,14 @@ class Account extends Controller
|
||||
{
|
||||
$get_data = $_GET;
|
||||
$agent_id = $this->userinfo['OperaterID'];
|
||||
$agent_phone = $this->userinfo['phone'];
|
||||
$page = 0;
|
||||
if (isset($_GET['PageIndex'])) {
|
||||
$page = ($_GET['PageIndex'] - 1) * 50;
|
||||
}
|
||||
$where = [];
|
||||
$where_str = '';
|
||||
$where['agent_id'] = $agent_id;
|
||||
$where['UserCode'] = $agent_phone;
|
||||
|
||||
//处理筛选
|
||||
if($get_data['UserId'] != 0){
|
||||
@@ -65,6 +66,7 @@ class Account extends Controller
|
||||
$day = ceil(($endtime - time())/86400);
|
||||
$info['RestTime'] = $day.'天';
|
||||
}
|
||||
$info['UserCode'] = $info['UserPhone']?$info['UserPhone']:$info['UserCode'];
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user