mirror of
https://github.com/v2board/v2board.git
synced 2025-01-25 23:49:09 +08:00
update
This commit is contained in:
parent
2e4de78923
commit
8a0ac687cf
@ -141,7 +141,7 @@ class ServerService
|
||||
$serverLog = ServerLog::where('user_id', $userId)
|
||||
->where('server_id', $serverId)
|
||||
->where('created_at', '>=', strtotime(date('Y-m-d h:00:00')))
|
||||
->orderBy('DESC', 'created_at')
|
||||
->orderBy('created_at', 'DESC')
|
||||
->first();
|
||||
if ($serverLog) {
|
||||
$serverLog->u = $serverLog->u + $u;
|
||||
|
Loading…
Reference in New Issue
Block a user