1,登入历史信息

2,下载记录
master
tping 4 years ago
parent 3281348345
commit 3da7adcf3d

@ -304,7 +304,7 @@ class FengHuoApi2Controller extends GetInfoBaseController{
// 一页显示数据的条数
$pageSize = intval($pageSize);
$row = $pageSize ? $pageSize : 1000;
$order = 'id asc';
$order = 'id desc';
$data = M('user','tab_')
->field('id,nickname,login_time as last_login_time,last_login_ip, login_ip')
@ -330,7 +330,7 @@ class FengHuoApi2Controller extends GetInfoBaseController{
];
}
Log::write('loginInfo:' . date('Y-m-d H:i:s') . ' ---- ' . json_encode($result), 'INFO');
Log::write('loginHistoryInfo:' . date('Y-m-d H:i:s') . ' ---- ' . json_encode($result), 'INFO');
return $this->ajaxReturn($result);
@ -402,7 +402,7 @@ class FengHuoApi2Controller extends GetInfoBaseController{
];
}
Log::write('loginInfo:' . date('Y-m-d H:i:s') . ' ---- ' . json_encode($result), 'INFO');
Log::write('downloadLog:' . date('Y-m-d H:i:s') . ' ---- ' . json_encode($result), 'INFO');
return $this->ajaxReturn($result);

Loading…
Cancel
Save