update: server submit

This commit is contained in:
Tokumeikoi
2020-11-09 00:12:19 +08:00
parent 59a8429456
commit 9917e21a61
7 changed files with 20 additions and 49 deletions

View File

@ -270,6 +270,7 @@ class ServerService
->where('user_id', $userId)
->where('rate', $rate)
->where('method', $method)
->lockForUpdate()
->first();
if ($serverLog) {
$serverLog->u = $serverLog->u + $u;