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