|
public function log(int $userId, int $serverId, int $u, int $d, float $rate, string $method)
|
|
public function log(int $userId, int $serverId, int $u, int $d, float $rate, string $method)
|
|
$serverLog = ServerLog::where('log_at', '>=', $timestamp)
|
|
$serverLog = ServerLog::where('log_at', '>=', $timestamp)
|
|
->where('log_at', '<', $timestamp + 3600)
|
|
->where('log_at', '<', $timestamp + 3600)
|