"2", "ps" => "Los_Angeles", "add" => "usa.yimian.xyz", "port" => "443", "id" => $uuid, "aid" => "88", "net" => "ws", "type" => "none", "host" => $host, "path" => "/", "tls" => "tls" ); }elseif($host == 'v-china.yimian.xyz'){ $pack = array( "v" => "2", "ps" => "China-Taian", "add" => "v-china.yimian.xyz", "port" => "443", "id" => $uuid, "aid" => "88", "net" => "ws", "type" => "none", "host" => $host, "path" => "/", "tls" => "tls" ); }else{ $pack = array( "v" => "2", "ps" => "Unknown", "add" => $host, "port" => "443", "id" => $uuid, "aid" => "88", "net" => "ws", "type" => "none", "host" => $host, "path" => "/", "tls" => "tls" ); } return 'vmess://'.base64_encode(json_encode($pack)); }