mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	rm: remove server name check
This commit is contained in:
		| @@ -14,9 +14,6 @@ class V2rayController extends Controller | ||||
|     public function save(ServerV2raySave $request) | ||||
|     { | ||||
|         $params = $request->validated(); | ||||
|         $serverService = new ServerService(); | ||||
|         if ($serverService->serverIsExist($params['name'])) abort(500, '节点名称已存在,请更换名称再试'); | ||||
|  | ||||
|         $params['group_id'] = json_encode($params['group_id']); | ||||
|         if (isset($params['tags'])) { | ||||
|             $params['tags'] = json_encode($params['tags']); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user