mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: fix stat server
This commit is contained in:
		| @@ -49,7 +49,7 @@ class StatServerJob implements ShouldQueue | ||||
|         } | ||||
|  | ||||
|         $data = StatServer::where('record_at', $recordAt) | ||||
|             ->where('server_id', $this->server->id) | ||||
|             ->where('server_id', $this->server['id']) | ||||
|             ->where('server_type', $this->protocol) | ||||
|             ->lockForUpdate() | ||||
|             ->first(); | ||||
| @@ -64,7 +64,7 @@ class StatServerJob implements ShouldQueue | ||||
|             } | ||||
|         } else { | ||||
|             if (!StatServer::create([ | ||||
|                 'server_id' => $this->server->id, | ||||
|                 'server_id' => $this->server['id'], | ||||
|                 'server_type' => $this->protocol, | ||||
|                 'u' => $this->u, | ||||
|                 'd' => $this->d, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user