|
@@ -953,6 +953,7 @@ class User extends Controller
|
|
|
public function pullAccessLogs()
|
|
|
{
|
|
|
$path = $this->request->param('path','');
|
|
|
+ $ip = strval($this->request->param('path','ip'));
|
|
|
|
|
|
$from = $this->request->param('from');
|
|
|
$to = $this->request->param('to');
|
|
@@ -975,7 +976,7 @@ class User extends Controller
|
|
|
$toInt = time();
|
|
|
}
|
|
|
|
|
|
- $data = UserAccessLog::getAccessLog($path, $fromInt, $toInt, $page, $size);
|
|
|
+ $data = UserAccessLog::getAccessLog($path, $fromInt, $toInt, $page, $size, $ip);
|
|
|
|
|
|
return $this->renderSuccess($data);
|
|
|
}
|