mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: fix
This commit is contained in:
		| @@ -36,7 +36,7 @@ class StatServerJob implements ShouldQueue | ||||
|     public function handle() | ||||
|     { | ||||
|         $statistic = $this->statistic; | ||||
|         $data = StatServerV2ray::where('record_at', $statistic['record_at']) | ||||
|         $data = StatServer::where('record_at', $statistic['record_at']) | ||||
|             ->where('server_id', $statistic['server_id']) | ||||
|             ->first(); | ||||
|         if ($data) { | ||||
| @@ -46,7 +46,7 @@ class StatServerJob implements ShouldQueue | ||||
|                 abort(500, '节点统计数据更新失败'); | ||||
|             } | ||||
|         } else { | ||||
|             if (!StatServerV2ray::create($statistic)) { | ||||
|             if (!StatServer::create($statistic)) { | ||||
|                 abort(500, '节点统计数据创建失败'); | ||||
|             } | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user