游戏客户端和服务器 大数据 压缩

package compress;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;

public class Compress {
	private static final int BUFFER_LENGTH = 400;

	// 压缩字节最小长度,小于这个长度的字节数组不适合压缩,压缩完会更大
	public static final int BYTE_MIN_LENGTH = 50;

	// 字节数组是否压缩标志位
	public static final byte FLAG_GBK_STRING_UNCOMPRESSED_BYTEARRAY = 0;
	public static final byte FLAG_GBK_STRING_COMPRESSED_BYTEARRAY = 1;
	public static final byte FLAG_UTF8_STRING_COMPRESSED_BYTEARRAY = 2;
	public static final byte FLAG_NO_UPDATE_INFO = 3;

	/**
	 * 数据压缩
	 * 
	 * @param is
	 * @param os
	 * @throws Exception
	 */
	public static void compress(InputStream is, OutputStream os)
			throws Exception {

		GZIPOutputStream gos = new GZIPOutputStream(os);

		int count;
		byte data[] = new byte[BUFFER_LENGTH];
		while ((count = is.read(data, 0, BUFFER_LENGTH)) != -1) {
			gos.write(data, 0, count);
		}

		gos.finish();

		gos.flush();
		gos.close();
	}

	/**
	 * 数据解压缩
	 * 
	 * @param is
	 * @param os
	 * @throws Exception
	 */
	public static void decompress(InputStream is, OutputStream os)
			throws Exception {

		GZIPInputStream gis = new GZIPInputStream(is);

		int count;
		byte data[] = new byte[BUFFER_LENGTH];
		while ((count = gis.read(data, 0, BUFFER_LENGTH)) != -1) {
			os.write(data, 0, count);
		}

		gis.close();
	}

	/**
	 * 数据压缩
	 * 
	 * @param data
	 * @return
	 * @throws Exception
	 */
	public static byte[] byteCompress(byte[] data) throws Exception {
		ByteArrayInputStream bais = new ByteArrayInputStream(data);
		ByteArrayOutputStream baos = new ByteArrayOutputStream();

		// 压缩
		compress(bais, baos);

		byte[] output = baos.toByteArray();

		baos.flush();
		baos.close();

		bais.close();

		return output;
	}

	/**
	 * 数据解压缩
	 * 
	 * @param data
	 * @return
	 * @throws Exception
	 */
	public static byte[] byteDecompress(byte[] data) throws Exception {
		ByteArrayInputStream bais = new ByteArrayInputStream(data);
		ByteArrayOutputStream baos = new ByteArrayOutputStream();

		// 解压缩

		decompress(bais, baos);

		data = baos.toByteArray();

		baos.flush();
		baos.close();

		bais.close();

		return data;
	}
}
测试方法
public static void main(String[] args) throws Exception {

//		long t1 = System.currentTimeMillis();
//		for(int i=0;i<10000;i++){
//			String jsonStr = getJsonData();
//			Compress.byteCompress(jsonStr.getBytes());
//		}
//		System.out.println(System.currentTimeMillis()-t1);
		
		String jsonStr = getJsonData();
		System.out.println(jsonStr.length());
		byte[] Byte1 = jsonStr.getBytes();
		System.out.println("Byte1=" + Byte1.length);
		byte[] Byte2 = Compress.byteCompress(Byte1);
		StringBuffer sb = new StringBuffer();
		for(byte i:Byte2){
			sb.append(i);
		}
		System.out.println("Byte2 DATA:"+sb.toString());
		System.out.println("Byte2=" + Byte2.length);
		byte[] Byte3 = Compress.byteDecompress(Byte2);
		System.out.println("Byte3=" + Byte3.length);
//
//		
//		String result = null;
//		byte[] compressedByte = new byte[Byte3.length];
//		for (int i = 0; i < compressedByte.length; i++) {
//			compressedByte[i] = Byte3[i];
//		}
//		result = new String(compressedByte);
//		System.out.println(result);
	}

	public static String getJsonData() {
//		return "{\"msg\":null,\"code\":0,\"o\":{\"playerSceneDto\":[{\"id\":1,\"status\":1,\"progress\":0,\"cityName\":\"成都\",\"requireLv\":1,\"orderNum\":1,\"backgroundPicId\":0,\"playerLevelDtoList\":[{\"type\":1,\"description\":\"成都|比赛类型1|玩法提示1\",\"status\":2,\"playerId\":2,\"levelId\":4000,\"star\":0,\"orderNum\":1,\"raceTypeName\":\"竞速赛\",\"successDesc\":\"夺得第3名\",\"oilConsume\":6,\"remineEliteTimes\":3,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"加速度+1.08\"],\"name\":\"都市-引擎\",\"equipmentId\":30000,\"quality\":0,\"price\":16,\"payUnit\":2,\"picId\":30000,\"requireLv\":1,\"requireNum\":0,\"ownNum\":2,\"targetList\":null}]},{\"type\":2,\"description\":\"成都|比赛类型2|玩法提示2\",\"status\":3,\"playerId\":2,\"levelId\":4001,\"star\":0,\"orderNum\":2,\"raceTypeName\":\"限时赛\",\"successDesc\":\"撞毁2辆车\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"最高速度+4.31\"],\"name\":\"都市-涡轮增压\",\"equipmentId\":30002,\"quality\":0,\"price\":24,\"payUnit\":2,\"picId\":30002,\"requireLv\":4,\"requireNum\":0,\"ownNum\":2,\"targetList\":null}]},{\"type\":3,\"description\":\"成都|比赛类型3|玩法提示3\",\"status\":3,\"playerId\":2,\"levelId\":4002,\"star\":0,\"orderNum\":3,\"raceTypeName\":\"保持赛\",\"successDesc\":\"121秒内跑到终点\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"操控性+20.22\"],\"name\":\"都市-避震器\",\"equipmentId\":30003,\"quality\":0,\"price\":22,\"payUnit\":2,\"picId\":30003,\"requireLv\":7,\"requireNum\":0,\"ownNum\":0,\"targetList\":null}]},{\"type\":4,\"description\":\"成都|比赛类型4|玩法提示4\",\"status\":3,\"playerId\":2,\"levelId\":4003,\"star\":0,\"orderNum\":4,\"raceTypeName\":\"收集赛\",\"successDesc\":\"收集50积分\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"加速度+1.08\"],\"name\":\"都市-引擎\",\"equipmentId\":30000,\"quality\":0,\"price\":16,\"payUnit\":2,\"picId\":30000,\"requireLv\":1,\"requireNum\":0,\"ownNum\":2,\"targetList\":null}]},{\"type\":5,\"description\":\"成都|比赛类型5|玩法提示5\",\"status\":3,\"playerId\":2,\"levelId\":4004,\"star\":0,\"orderNum\":5,\"raceTypeName\":\"撞毁赛\",\"successDesc\":\"保持时速99公里/小时\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"最高速度+4.31\"],\"name\":\"都市-涡轮增压\",\"equipmentId\":30002,\"quality\":0,\"price\":24,\"payUnit\":2,\"picId\":30002,\"requireLv\":4,\"requireNum\":0,\"ownNum\":2,\"targetList\":null}]},{\"type\":6,\"description\":\"成都|比赛类型6|玩法提示6\",\"status\":3,\"playerId\":2,\"levelId\":4005,\"star\":0,\"orderNum\":6,\"raceTypeName\":\"漂移赛\",\"successDesc\":\"漂移675米\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"操控性+20.22\"],\"name\":\"都市-避震器\",\"equipmentId\":30003,\"quality\":0,\"price\":22,\"payUnit\":2,\"picId\":30003,\"requireLv\":7,\"requireNum\":0,\"ownNum\":0,\"targetList\":null}]}],\"preFinishFlag\":1},{\"id\":2,\"status\":0,\"progress\":0,\"cityName\":\"康定\",\"requireLv\":10,\"orderNum\":2,\"backgroundPicId\":0,\"playerLevelDtoList\":[{\"type\":1,\"description\":\"康定|比赛类型1|玩法提示1\",\"status\":3,\"playerId\":2,\"levelId\":4006,\"star\":0,\"orderNum\":1,\"raceTypeName\":\"竞速赛\",\"successDesc\":\"获得第3名且不被淘汰\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"都市蓝通用材料\"],\"name\":\"都市蓝通用材料\",\"equipmentId\":30050,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32700,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null},{\"property\":[\"都市蓝碎片引擎\"],\"name\":\"都市蓝碎片引擎\",\"equipmentId\":30106,\"quality\":0,\"price\":26,\"payUnit\":2,\"picId\":30106,\"requireLv\":10,\"requireNum\":3,\"ownNum\":0,\"targetList\":null},{\"property\":[\"加速度+1.08\"],\"name\":\"越野-引擎\",\"equipmentId\":30500,\"quality\":0,\"price\":16,\"payUnit\":2,\"picId\":30000,\"requireLv\":1,\"requireNum\":0,\"ownNum\":0,\"targetList\":null}]},{\"type\":2,\"description\":\"康定|比赛类型2|玩法提示2\",\"status\":3,\"playerId\":2,\"levelId\":4007,\"star\":0,\"orderNum\":2,\"raceTypeName\":\"限时赛\",\"successDesc\":\"夺得第3名\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"都市蓝碎片涡轮增压\"],\"name\":\"都市蓝碎片涡轮增压\",\"equipmentId\":30108,\"quality\":0,\"price\":40,\"payUnit\":2,\"picId\":30108,\"requireLv\":10,\"requireNum\":3,\"ownNum\":0,\"targetList\":null},{\"property\":[\"最高速度+4.31\"],\"name\":\"越野-涡轮增压\",\"equipmentId\":30502,\"quality\":0,\"price\":24,\"payUnit\":2,\"picId\":30002,\"requireLv\":4,\"requireNum\":0,\"ownNum\":0,\"targetList\":null},{\"property\":[\"都市蓝通用材料\"],\"name\":\"都市蓝通用材料\",\"equipmentId\":30050,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32700,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null}]},{\"type\":3,\"description\":\"康定|比赛类型3|玩法提示3\",\"status\":3,\"playerId\":2,\"levelId\":4008,\"star\":0,\"orderNum\":3,\"raceTypeName\":\"保持赛\",\"successDesc\":\"撞毁4辆车\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"都市蓝碎片避震器\"],\"name\":\"都市蓝碎片避震器\",\"equipmentId\":30109,\"quality\":0,\"price\":36,\"payUnit\":2,\"picId\":30109,\"requireLv\":10,\"requireNum\":3,\"ownNum\":0,\"targetList\":null},{\"property\":[\"操控性+20.22\"],\"name\":\"越野-避震器\",\"equipmentId\":30503,\"quality\":0,\"price\":22,\"payUnit\":2,\"picId\":30003,\"requireLv\":7,\"requireNum\":0,\"ownNum\":0,\"targetList\":null},{\"property\":[\"都市蓝通用材料\"],\"name\":\"都市蓝通用材料\",\"equipmentId\":30050,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32700,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null}]},{\"type\":4,\"description\":\"康定|比赛类型4|玩法提示4\",\"status\":3,\"playerId\":2,\"levelId\":4009,\"star\":0,\"orderNum\":4,\"raceTypeName\":\"收集赛\",\"successDesc\":\"124秒内跑到终点\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"都市蓝图纸引擎\"],\"name\":\"都市蓝图纸引擎\",\"equipmentId\":30306,\"quality\":0,\"price\":16,\"payUnit\":2,\"picId\":30306,\"requireLv\":10,\"requireNum\":5,\"ownNum\":0,\"targetList\":null},{\"property\":[\"加速度+1.08\"],\"name\":\"越野-引擎\",\"equipmentId\":30500,\"quality\":0,\"price\":16,\"payUnit\":2,\"picId\":30000,\"requireLv\":1,\"requireNum\":0,\"ownNum\":0,\"targetList\":null},{\"property\":[\"都市蓝通用材料\"],\"name\":\"都市蓝通用材料\",\"equipmentId\":30050,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32700,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null}]},{\"type\":5,\"description\":\"康定|比赛类型5|玩法提示5\",\"status\":3,\"playerId\":2,\"levelId\":4010,\"star\":0,\"orderNum\":5,\"raceTypeName\":\"撞毁赛\",\"successDesc\":\"收集80积分\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"都市蓝图纸涡轮增压\"],\"name\":\"都市蓝图纸涡轮增压\",\"equipmentId\":30308,\"quality\":0,\"price\":24,\"payUnit\":2,\"picId\":30308,\"requireLv\":10,\"requireNum\":5,\"ownNum\":0,\"targetList\":null},{\"property\":[\"最高速度+4.31\"],\"name\":\"越野-涡轮增压\",\"equipmentId\":30502,\"quality\":0,\"price\":24,\"payUnit\":2,\"picId\":30002,\"requireLv\":4,\"requireNum\":0,\"ownNum\":0,\"targetList\":null},{\"property\":[\"都市蓝通用材料\"],\"name\":\"都市蓝通用材料\",\"equipmentId\":30050,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32700,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null}]},{\"type\":6,\"description\":\"康定|比赛类型6|玩法提示6\",\"status\":3,\"playerId\":2,\"levelId\":4011,\"star\":0,\"orderNum\":6,\"raceTypeName\":\"漂移赛\",\"successDesc\":\"保持时速114公里/小时\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"都市蓝图纸避震器\"],\"name\":\"都市蓝图纸避震器\",\"equipmentId\":30309,\"quality\":0,\"price\":22,\"payUnit\":2,\"picId\":30309,\"requireLv\":10,\"requireNum\":5,\"ownNum\":0,\"targetList\":null},{\"property\":[\"操控性+20.22\"],\"name\":\"越野-避震器\",\"equipmentId\":30503,\"quality\":0,\"price\":22,\"payUnit\":2,\"picId\":30003,\"requireLv\":7,\"requireNum\":0,\"ownNum\":0,\"targetList\":null},{\"property\":[\"都市蓝通用材料\"],\"name\":\"都市蓝通用材料\",\"equipmentId\":30050,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32700,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null}]}],\"preFinishFlag\":0},{\"id\":3,\"status\":0,\"progress\":0,\"cityName\":\"丹巴\",\"requireLv\":30,\"orderNum\":3,\"backgroundPicId\":0,\"playerLevelDtoList\":[{\"type\":1,\"description\":\"丹巴|比赛类型1|玩法提示1\",\"status\":3,\"playerId\":2,\"levelId\":4012,\"star\":0,\"orderNum\":1,\"raceTypeName\":\"竞速赛\",\"successDesc\":\"漂移700米\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"都市蓝碎片引擎\"],\"name\":\"都市蓝碎片引擎\",\"equipmentId\":30106,\"quality\":0,\"price\":26,\"payUnit\":2,\"picId\":30106,\"requireLv\":10,\"requireNum\":3,\"ownNum\":0,\"targetList\":null},{\"property\":[\"越野蓝碎片引擎\"],\"name\":\"越野蓝碎片引擎\",\"equipmentId\":30606,\"quality\":0,\"price\":26,\"payUnit\":2,\"picId\":30106,\"requireLv\":10,\"requireNum\":3,\"ownNum\":0,\"targetList\":null},{\"property\":[\"加速度+1.08\"],\"name\":\"超跑-引擎\",\"equipmentId\":31000,\"quality\":0,\"price\":16,\"payUnit\":2,\"picId\":30000,\"requireLv\":1,\"requireNum\":0,\"ownNum\":0,\"targetList\":null},{\"property\":[\"都市蓝通用材料\"],\"name\":\"都市蓝通用材料\",\"equipmentId\":30050,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32700,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null},{\"property\":[\"越野蓝通用材料\"],\"name\":\"越野蓝通用材料\",\"equipmentId\":30550,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32703,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null}]},{\"type\":2,\"description\":\"丹巴|比赛类型2|玩法提示2\",\"status\":3,\"playerId\":2,\"levelId\":4013,\"star\":0,\"orderNum\":2,\"raceTypeName\":\"限时赛\",\"successDesc\":\"获得第3名且不被淘汰\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"都市蓝碎片涡轮增压\"],\"name\":\"都市蓝碎片涡轮增压\",\"equipmentId\":30108,\"quality\":0,\"price\":40,\"payUnit\":2,\"picId\":30108,\"requireLv\":10,\"requireNum\":3,\"ownNum\":0,\"targetList\":null},{\"property\":[\"越野蓝碎片涡轮增压\"],\"name\":\"越野蓝碎片涡轮增压\",\"equipmentId\":30608,\"quality\":0,\"price\":40,\"payUnit\":2,\"picId\":30108,\"requireLv\":10,\"requireNum\":3,\"ownNum\":0,\"targetList\":null},{\"property\":[\"最高速度+4.31\"],\"name\":\"超跑-涡轮增压\",\"equipmentId\":31002,\"quality\":0,\"price\":24,\"payUnit\":2,\"picId\":30002,\"requireLv\":4,\"requireNum\":0,\"ownNum\":0,\"targetList\":null},{\"property\":[\"都市蓝通用材料\"],\"name\":\"都市蓝通用材料\",\"equipmentId\":30050,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32700,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null},{\"property\":[\"越野蓝通用材料\"],\"name\":\"越野蓝通用材料\",\"equipmentId\":30550,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32703,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null}]},{\"type\":3,\"description\":\"丹巴|比赛类型3|玩法提示3\",\"status\":3,\"playerId\":2,\"levelId\":4014,\"star\":0,\"orderNum\":3,\"raceTypeName\":\"保持赛\",\"successDesc\":\"夺得第3名\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"都市蓝碎片避震器\"],\"name\":\"都市蓝碎片避震器\",\"equipmentId\":30109,\"quality\":0,\"price\":36,\"payUnit\":2,\"picId\":30109,\"requireLv\":10,\"requireNum\":3,\"ownNum\":0,\"targetList\":null},{\"property\":[\"越野蓝碎片避震器\"],\"name\":\"越野蓝碎片避震器\",\"equipmentId\":30609,\"quality\":0,\"price\":36,\"payUnit\":2,\"picId\":30109,\"requireLv\":10,\"requireNum\":3,\"ownNum\":0,\"targetList\":null},{\"property\":[\"操控性+20.22\"],\"name\":\"超跑-避震器\",\"equipmentId\":31003,\"quality\":0,\"price\":22,\"payUnit\":2,\"picId\":30003,\"requireLv\":7,\"requireNum\":0,\"ownNum\":0,\"targetList\":null},{\"property\":[\"都市蓝通用材料\"],\"name\":\"都市蓝通用材料\",\"equipmentId\":30050,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32700,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null},{\"property\":[\"越野蓝通用材料\"],\"name\":\"越野蓝通用材料\",\"equipmentId\":30550,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32703,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null}]},{\"type\":4,\"description\":\"丹巴|比赛类型4|玩法提示4\",\"status\":3,\"playerId\":2,\"levelId\":4015,\"star\":0,\"orderNum\":4,\"raceTypeName\":\"收集赛\",\"successDesc\":\"撞毁4辆车\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"都市蓝图纸引擎\"],\"name\":\"都市蓝图纸引擎\",\"equipmentId\":30306,\"quality\":0,\"price\":16,\"payUnit\":2,\"picId\":30306,\"requireLv\":10,\"requireNum\":5,\"ownNum\":0,\"targetList\":null},{\"property\":[\"越野蓝图纸引擎\"],\"name\":\"越野蓝图纸引擎\",\"equipmentId\":30806,\"quality\":0,\"price\":16,\"payUnit\":2,\"picId\":30306,\"requireLv\":10,\"requireNum\":5,\"ownNum\":0,\"targetList\":null},{\"property\":[\"加速度+1.08\"],\"name\":\"超跑-引擎\",\"equipmentId\":31000,\"quality\":0,\"price\":16,\"payUnit\":2,\"picId\":30000,\"requireLv\":1,\"requireNum\":0,\"ownNum\":0,\"targetList\":null},{\"property\":[\"都市蓝通用材料\"],\"name\":\"都市蓝通用材料\",\"equipmentId\":30050,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32700,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null},{\"property\":[\"越野蓝通用材料\"],\"name\":\"越野蓝通用材料\",\"equipmentId\":30550,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32703,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null}]},{\"type\":5,\"description\":\"丹巴|比赛类型5|玩法提示5\",\"status\":3,\"playerId\":2,\"levelId\":4016,\"star\":0,\"orderNum\":5,\"raceTypeName\":\"撞毁赛\",\"successDesc\":\"120秒内跑到终点\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"都市蓝图纸涡轮增压\"],\"name\":\"都市蓝图纸涡轮增压\",\"equipmentId\":30308,\"quality\":0,\"price\":24,\"payUnit\":2,\"picId\":30308,\"requireLv\":10,\"requireNum\":5,\"ownNum\":0,\"targetList\":null},{\"property\":[\"越野蓝图纸涡轮增压\"],\"name\":\"越野蓝图纸涡轮增压\",\"equipmentId\":30808,\"quality\":0,\"price\":24,\"payUnit\":2,\"picId\":30308,\"requireLv\":10,\"requireNum\":5,\"ownNum\":0,\"targetList\":null},{\"property\":[\"最高速度+4.31\"],\"name\":\"超跑-涡轮增压\",\"equipmentId\":31002,\"quality\":0,\"price\":24,\"payUnit\":2,\"picId\":30002,\"requireLv\":4,\"requireNum\":0,\"ownNum\":0,\"targetList\":null},{\"property\":[\"都市蓝通用材料\"],\"name\":\"都市蓝通用材料\",\"equipmentId\":30050,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32700,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null},{\"property\":[\"越野蓝通用材料\"],\"name\":\"越野蓝通用材料\",\"equipmentId\":30550,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32703,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null}]},{\"type\":6,\"description\":\"丹巴|比赛类型6|玩法提示6\",\"status\":3,\"playerId\":2,\"levelId\":4017,\"star\":0,\"orderNum\":6,\"raceTypeName\":\"漂移赛\",\"successDesc\":\"收集80积分\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[{\"property\":[\"都市蓝图纸避震器\"],\"name\":\"都市蓝图纸避震器\",\"equipmentId\":30309,\"quality\":0,\"price\":22,\"payUnit\":2,\"picId\":30309,\"requireLv\":10,\"requireNum\":5,\"ownNum\":0,\"targetList\":null},{\"property\":[\"越野蓝图纸避震器\"],\"name\":\"越野蓝图纸避震器\",\"equipmentId\":30809,\"quality\":0,\"price\":22,\"payUnit\":2,\"picId\":30309,\"requireLv\":10,\"requireNum\":5,\"ownNum\":0,\"targetList\":null},{\"property\":[\"操控性+20.22\"],\"name\":\"超跑-避震器\",\"equipmentId\":31003,\"quality\":0,\"price\":22,\"payUnit\":2,\"picId\":30003,\"requireLv\":7,\"requireNum\":0,\"ownNum\":0,\"targetList\":null},{\"property\":[\"都市蓝通用材料\"],\"name\":\"都市蓝通用材料\",\"equipmentId\":30050,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32700,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null},{\"property\":[\"越野蓝通用材料\"],\"name\":\"越野蓝通用材料\",\"equipmentId\":30550,\"quality\":0,\"price\":5,\"payUnit\":2,\"picId\":32703,\"requireLv\":1,\"requireNum\":10,\"ownNum\":0,\"targetList\":null}]}],\"preFinishFlag\":0},{\"id\":4,\"status\":0,\"progress\":0,\"cityName\":\"道孚\",\"requireLv\":45,\"orderNum\":4,\"backgroundPicId\":0,\"playerLevelDtoList\":[{\"type\":1,\"description\":\"道孚|比赛类型1|玩法提示1\",\"status\":3,\"playerId\":2,\"levelId\":4018,\"star\":0,\"orderNum\":1,\"raceTypeName\":\"竞速赛\",\"successDesc\":\"保持时速118公里/小时\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[]},{\"type\":2,\"description\":\"道孚|比赛类型2|玩法提示2\",\"status\":3,\"playerId\":2,\"levelId\":4019,\"star\":0,\"orderNum\":2,\"raceTypeName\":\"限时赛\",\"successDesc\":\"漂移700米\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[]},{\"type\":3,\"description\":\"道孚|比赛类型3|玩法提示3\",\"status\":3,\"playerId\":2,\"levelId\":4020,\"star\":0,\"orderNum\":3,\"raceTypeName\":\"保持赛\",\"successDesc\":\"获得第3名且不被淘汰\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[]},{\"type\":4,\"description\":\"道孚|比赛类型4|玩法提示4\",\"status\":3,\"playerId\":2,\"levelId\":4021,\"star\":0,\"orderNum\":4,\"raceTypeName\":\"收集赛\",\"successDesc\":\"夺得第3名\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[]},{\"type\":5,\"description\":\"道孚|比赛类型5|玩法提示5\",\"status\":3,\"playerId\":2,\"levelId\":4022,\"star\":0,\"orderNum\":5,\"raceTypeName\":\"撞毁赛\",\"successDesc\":\"撞毁5辆车\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[]},{\"type\":6,\"description\":\"道孚|比赛类型6|玩法提示6\",\"status\":3,\"playerId\":2,\"levelId\":4023,\"star\":0,\"orderNum\":6,\"raceTypeName\":\"漂移赛\",\"successDesc\":\"116秒内跑到终点\",\"oilConsume\":6,\"remineEliteTimes\":0,\"freeEliteTimes\":3,\"equipmentList\":[]}],\"preFinishFlag\":0}],\"playerMopupCardNum\":0},\"n\":[]}";
		return "{\"msg\":null,\"code\":0,\"o\":{\"playerCarDtoList\":[{\"name\":\"MINI\",\"id\":9,\"type\":1,\"control\":721.26,\"feature\":\"新手专用赛车\",\"status\":1,\"playerId\":2,\"carId\":1,\"color\":1,\"experience\":0,\"star\":1,\"quality\":1,\"price\":0,\"picId\":1,\"equipFlag\":0,\"carLv\":1,\"purchaseLv\":1,\"consumeUnit\":1,\"grade\":1,\"exchangeChipNum\":8,\"accelerate\":22.11,\"topSpeed\":100.17,\"nitrogenSpeed\":50.07,\"durability\":35.01,\"openColorList\":[{\"expireDays\":-1,\"colorId\":1}],\"advanceFlag\":0,\"playerCarEquipList\":[{\"name\":\"都市-引擎\",\"status\":3,\"position\":1,\"quality\":1,\"consumeUnit\":1,\"requireLv\":1,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30000,\"picid\":30000,\"composeFlag\":0,\"additionDescList\":[\"加速度+1.08\"],\"getwayList\":[{\"levelId\":4000,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型1\"},{\"levelId\":4001,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型2\"}],\"equipList\":[]},{\"name\":\"都市-氮气\",\"status\":1,\"position\":2,\"quality\":1,\"consumeUnit\":1,\"requireLv\":2,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30001,\"picid\":30001,\"composeFlag\":0,\"additionDescList\":[\"氮气速度+2.7\"],\"getwayList\":[{\"levelId\":4002,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型3\"},{\"levelId\":4003,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型4\"}],\"equipList\":[]},{\"name\":\"都市-涡轮增压\",\"status\":5,\"position\":3,\"quality\":1,\"consumeUnit\":1,\"requireLv\":4,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30002,\"picid\":30002,\"composeFlag\":0,\"additionDescList\":[\"最高速度+4.31\"],\"getwayList\":[{\"levelId\":4004,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型5\"},{\"levelId\":4005,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型6\"}],\"equipList\":[]},{\"name\":\"都市-避震器\",\"status\":1,\"position\":4,\"quality\":1,\"consumeUnit\":1,\"requireLv\":7,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30003,\"picid\":30003,\"composeFlag\":0,\"additionDescList\":[\"操控性+20.22\"],\"getwayList\":[{\"levelId\":4006,\"raceMode\":1,\"getWayName\":\"常规赛|康定比赛类型1\"},{\"levelId\":4007,\"raceMode\":1,\"getWayName\":\"常规赛|康定比赛类型2\"}],\"equipList\":[]},{\"name\":\"都市-座椅\",\"status\":1,\"position\":5,\"quality\":1,\"consumeUnit\":1,\"requireLv\":8,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30004,\"picid\":30004,\"composeFlag\":0,\"additionDescList\":[\"最高速度+1.08\"],\"getwayList\":[{\"levelId\":4008,\"raceMode\":1,\"getWayName\":\"常规赛|康定比赛类型3\"},{\"levelId\":4009,\"raceMode\":1,\"getWayName\":\"常规赛|康定比赛类型4\"}],\"equipList\":[]},{\"name\":\"都市-轮胎\",\"status\":1,\"position\":6,\"quality\":1,\"consumeUnit\":1,\"requireLv\":8,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30005,\"picid\":30005,\"composeFlag\":0,\"additionDescList\":[\"耐久度+0.67\"],\"getwayList\":[{\"levelId\":4010,\"raceMode\":1,\"getWayName\":\"常规赛|康定比赛类型5\"},{\"levelId\":4011,\"raceMode\":1,\"getWayName\":\"常规赛|康定比赛类型6\"}],\"equipList\":[]}],\"colorDesc\":\"红色\",\"carDescription\":\"外观时尚拉风,线条简洁流畅,拉轰的复古设计回头率100%。\",\"qualityLv\":0,\"overallPerformance\":23866,\"maxAccelerate\":40.0,\"maxTopSpeed\":234.0,\"maxNitrogenSpeed\":135.0,\"maxControl\":1560.0,\"maxDurability\":79.0,\"ownChipNum\":0,\"requireChipNum\":10,\"upgradeStarFlag\":0},{\"name\":\"MINI CLUBMAN\",\"id\":11,\"type\":2,\"control\":1081.64,\"feature\":\"氮气聚积加成\",\"status\":1,\"playerId\":2,\"carId\":2,\"color\":1,\"experience\":0,\"star\":1,\"quality\":1,\"price\":7900,\"picId\":2,\"equipFlag\":0,\"carLv\":1,\"purchaseLv\":1,\"consumeUnit\":1,\"grade\":1,\"exchangeChipNum\":8,\"accelerate\":16.11,\"topSpeed\":100.17,\"nitrogenSpeed\":50.07,\"durability\":60.01,\"openColorList\":[{\"expireDays\":-1,\"colorId\":1}],\"advanceFlag\":0,\"playerCarEquipList\":[{\"name\":\"越野-引擎\",\"status\":1,\"position\":1,\"quality\":1,\"consumeUnit\":1,\"requireLv\":1,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30500,\"picid\":30000,\"composeFlag\":0,\"additionDescList\":[\"加速度+1.08\"],\"getwayList\":[{\"levelId\":4000,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型1\"}],\"equipList\":[]},{\"name\":\"越野-氮气\",\"status\":1,\"position\":2,\"quality\":1,\"consumeUnit\":1,\"requireLv\":2,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30501,\"picid\":30001,\"composeFlag\":0,\"additionDescList\":[\"氮气速度+3.24\"],\"getwayList\":[{\"levelId\":4001,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型2\"}],\"equipList\":[]},{\"name\":\"越野-涡轮增压\",\"status\":1,\"position\":3,\"quality\":1,\"consumeUnit\":1,\"requireLv\":4,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30502,\"picid\":30002,\"composeFlag\":0,\"additionDescList\":[\"最高速度+4.31\"],\"getwayList\":[{\"levelId\":4002,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型3\"}],\"equipList\":[]},{\"name\":\"越野-避震器\",\"status\":1,\"position\":4,\"quality\":1,\"consumeUnit\":1,\"requireLv\":7,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30503,\"picid\":30003,\"composeFlag\":0,\"additionDescList\":[\"操控性+20.22\"],\"getwayList\":[{\"levelId\":4003,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型4\"}],\"equipList\":[]},{\"name\":\"越野-座椅\",\"status\":1,\"position\":5,\"quality\":1,\"consumeUnit\":1,\"requireLv\":8,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30504,\"picid\":30004,\"composeFlag\":0,\"additionDescList\":[\"最高速度+1.08\"],\"getwayList\":[{\"levelId\":4004,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型5\"}],\"equipList\":[]},{\"name\":\"越野-轮胎\",\"status\":1,\"position\":6,\"quality\":1,\"consumeUnit\":1,\"requireLv\":8,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30505,\"picid\":30005,\"composeFlag\":0,\"additionDescList\":[\"耐久度+0.67\"],\"getwayList\":[{\"levelId\":4005,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型6\"}],\"equipList\":[]}],\"colorDesc\":\"红色\",\"carDescription\":\"清晰的MINI风格,难以抗拒的创新魅力,整体造型硬朗拉风,超大输出功率瞬间加速。\",\"qualityLv\":0,\"overallPerformance\":24096,\"maxAccelerate\":40.0,\"maxTopSpeed\":234.0,\"maxNitrogenSpeed\":135.0,\"maxControl\":1560.0,\"maxDurability\":79.0,\"ownChipNum\":0,\"requireChipNum\":10,\"upgradeStarFlag\":0},{\"name\":\"MINI COUPE\",\"id\":null,\"type\":3,\"control\":720.8655270805623,\"feature\":\"轮胎抗磨加成\",\"status\":2,\"playerId\":null,\"carId\":3,\"color\":1,\"experience\":null,\"star\":1,\"quality\":1,\"price\":16300,\"picId\":3,\"equipFlag\":0,\"carLv\":1,\"purchaseLv\":1,\"consumeUnit\":1,\"grade\":1,\"exchangeChipNum\":8,\"accelerate\":14.00170968315334,\"topSpeed\":118.08862997288286,\"nitrogenSpeed\":71.02215749336956,\"durability\":35.000961696758246,\"openColorList\":null,\"advanceFlag\":0,\"playerCarEquipList\":[{\"name\":\"超跑-引擎\",\"status\":1,\"position\":1,\"quality\":1,\"consumeUnit\":1,\"requireLv\":1,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":31000,\"picid\":30000,\"composeFlag\":0,\"additionDescList\":[\"加速度+1.08\"],\"getwayList\":[{\"levelId\":4000,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型1\"}],\"equipList\":[]},{\"name\":\"超跑-氮气\",\"status\":1,\"position\":2,\"quality\":1,\"consumeUnit\":1,\"requireLv\":2,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":31001,\"picid\":30001,\"composeFlag\":0,\"additionDescList\":[\"氮气速度+2.7\"],\"getwayList\":[{\"levelId\":4001,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型2\"}],\"equipList\":[]},{\"name\":\"超跑-涡轮增压\",\"status\":1,\"position\":3,\"quality\":1,\"consumeUnit\":1,\"requireLv\":4,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":31002,\"picid\":30002,\"composeFlag\":0,\"additionDescList\":[\"最高速度+4.31\"],\"getwayList\":[{\"levelId\":4002,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型3\"}],\"equipList\":[]},{\"name\":\"超跑-避震器\",\"status\":1,\"position\":4,\"quality\":1,\"consumeUnit\":1,\"requireLv\":7,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":31003,\"picid\":30003,\"composeFlag\":0,\"additionDescList\":[\"操控性+20.22\"],\"getwayList\":[{\"levelId\":4003,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型4\"}],\"equipList\":[]},{\"name\":\"超跑-座椅\",\"status\":1,\"position\":5,\"quality\":1,\"consumeUnit\":1,\"requireLv\":8,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":31004,\"picid\":30004,\"composeFlag\":0,\"additionDescList\":[\"最高速度+1.08\"],\"getwayList\":[{\"levelId\":4004,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型5\"}],\"equipList\":[]},{\"name\":\"超跑-轮胎\",\"status\":1,\"position\":6,\"quality\":1,\"consumeUnit\":1,\"requireLv\":8,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":31005,\"picid\":30005,\"composeFlag\":0,\"additionDescList\":[\"耐久度+0.81\"],\"getwayList\":[{\"levelId\":4005,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型6\"}],\"equipList\":[]}],\"colorDesc\":\"红色\",\"carDescription\":\"MINI超经典车型,曲线造型,轻巧身形隐藏惊人实力,时尚达人追崇的对象。\",\"qualityLv\":0,\"overallPerformance\":32146,\"maxAccelerate\":40.0,\"maxTopSpeed\":234.0,\"maxNitrogenSpeed\":135.0,\"maxControl\":1560.0,\"maxDurability\":79.0,\"ownChipNum\":0,\"requireChipNum\":10,\"upgradeStarFlag\":0},{\"name\":\"MINI COUNTRYMAN\",\"id\":null,\"type\":1,\"control\":721.047287767685,\"feature\":\"加速度加成\",\"status\":2,\"playerId\":null,\"carId\":4,\"color\":1,\"experience\":null,\"star\":1,\"quality\":1,\"price\":33600,\"picId\":4,\"equipFlag\":0,\"carLv\":1,\"purchaseLv\":1,\"consumeUnit\":1,\"grade\":1,\"exchangeChipNum\":20,\"accelerate\":22.00297895183905,\"topSpeed\":110.07447379652206,\"nitrogenSpeed\":55.018618449130514,\"durability\":35.00116365310477,\"openColorList\":null,\"advanceFlag\":0,\"playerCarEquipList\":[{\"name\":\"都市-引擎\",\"status\":1,\"position\":1,\"quality\":1,\"consumeUnit\":1,\"requireLv\":1,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30000,\"picid\":30000,\"composeFlag\":0,\"additionDescList\":[\"加速度+1.08\"],\"getwayList\":[{\"levelId\":4000,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型1\"},{\"levelId\":4001,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型2\"}],\"equipList\":[]},{\"name\":\"都市-氮气\",\"status\":1,\"position\":2,\"quality\":1,\"consumeUnit\":1,\"requireLv\":2,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30001,\"picid\":30001,\"composeFlag\":0,\"additionDescList\":[\"氮气速度+2.7\"],\"getwayList\":[{\"levelId\":4002,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型3\"},{\"levelId\":4003,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型4\"}],\"equipList\":[]},{\"name\":\"都市-涡轮增压\",\"status\":1,\"position\":3,\"quality\":1,\"consumeUnit\":1,\"requireLv\":4,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30002,\"picid\":30002,\"composeFlag\":0,\"additionDescList\":[\"最高速度+4.31\"],\"getwayList\":[{\"levelId\":4004,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型5\"},{\"levelId\":4005,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型6\"}],\"equipList\":[]},{\"name\":\"都市-避震器\",\"status\":1,\"position\":4,\"quality\":1,\"consumeUnit\":1,\"requireLv\":7,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30003,\"picid\":30003,\"composeFlag\":0,\"additionDescList\":[\"操控性+20.22\"],\"getwayList\":[{\"levelId\":4006,\"raceMode\":1,\"getWayName\":\"常规赛|康定比赛类型1\"},{\"levelId\":4007,\"raceMode\":1,\"getWayName\":\"常规赛|康定比赛类型2\"}],\"equipList\":[]},{\"name\":\"都市-座椅\",\"status\":1,\"position\":5,\"quality\":1,\"consumeUnit\":1,\"requireLv\":8,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30004,\"picid\":30004,\"composeFlag\":0,\"additionDescList\":[\"最高速度+1.08\"],\"getwayList\":[{\"levelId\":4008,\"raceMode\":1,\"getWayName\":\"常规赛|康定比赛类型3\"},{\"levelId\":4009,\"raceMode\":1,\"getWayName\":\"常规赛|康定比赛类型4\"}],\"equipList\":[]},{\"name\":\"都市-轮胎\",\"status\":1,\"position\":6,\"quality\":1,\"consumeUnit\":1,\"requireLv\":8,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30005,\"picid\":30005,\"composeFlag\":0,\"additionDescList\":[\"耐久度+0.67\"],\"getwayList\":[{\"levelId\":4010,\"raceMode\":1,\"getWayName\":\"常规赛|康定比赛类型5\"},{\"levelId\":4011,\"raceMode\":1,\"getWayName\":\"常规赛|康定比赛类型6\"}],\"equipList\":[]}],\"colorDesc\":\"红色\",\"carDescription\":\"MINI首款SUV车型,高度成熟的精致做工,劲爆十足的驾驶享受,让其成为无数年轻人追逐的梦想。\",\"qualityLv\":0,\"overallPerformance\":25995,\"maxAccelerate\":40.0,\"maxTopSpeed\":234.0,\"maxNitrogenSpeed\":135.0,\"maxControl\":1560.0,\"maxDurability\":79.0,\"ownChipNum\":0,\"requireChipNum\":10,\"upgradeStarFlag\":0},{\"name\":\"MINI PACEMAN\",\"id\":null,\"type\":2,\"control\":1171.462740764457,\"feature\":\"车身重量加成\",\"status\":2,\"playerId\":null,\"carId\":5,\"color\":1,\"experience\":null,\"star\":1,\"quality\":1,\"price\":1490,\"picId\":5,\"equipFlag\":0,\"carLv\":1,\"purchaseLv\":1,\"consumeUnit\":2,\"grade\":1,\"exchangeChipNum\":20,\"accelerate\":20.00297895183905,\"topSpeed\":115.07447379652206,\"nitrogenSpeed\":57.518618449130514,\"durability\":65.00162526753756,\"openColorList\":null,\"advanceFlag\":0,\"playerCarEquipList\":[{\"name\":\"越野-引擎\",\"status\":1,\"position\":1,\"quality\":1,\"consumeUnit\":1,\"requireLv\":1,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30500,\"picid\":30000,\"composeFlag\":0,\"additionDescList\":[\"加速度+1.08\"],\"getwayList\":[{\"levelId\":4000,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型1\"}],\"equipList\":[]},{\"name\":\"越野-氮气\",\"status\":1,\"position\":2,\"quality\":1,\"consumeUnit\":1,\"requireLv\":2,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30501,\"picid\":30001,\"composeFlag\":0,\"additionDescList\":[\"氮气速度+3.24\"],\"getwayList\":[{\"levelId\":4001,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型2\"}],\"equipList\":[]},{\"name\":\"越野-涡轮增压\",\"status\":1,\"position\":3,\"quality\":1,\"consumeUnit\":1,\"requireLv\":4,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30502,\"picid\":30002,\"composeFlag\":0,\"additionDescList\":[\"最高速度+4.31\"],\"getwayList\":[{\"levelId\":4002,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型3\"}],\"equipList\":[]},{\"name\":\"越野-避震器\",\"status\":1,\"position\":4,\"quality\":1,\"consumeUnit\":1,\"requireLv\":7,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30503,\"picid\":30003,\"composeFlag\":0,\"additionDescList\":[\"操控性+20.22\"],\"getwayList\":[{\"levelId\":4003,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型4\"}],\"equipList\":[]},{\"name\":\"越野-座椅\",\"status\":1,\"position\":5,\"quality\":1,\"consumeUnit\":1,\"requireLv\":8,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30504,\"picid\":30004,\"composeFlag\":0,\"additionDescList\":[\"最高速度+1.08\"],\"getwayList\":[{\"levelId\":4004,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型5\"}],\"equipList\":[]},{\"name\":\"越野-轮胎\",\"status\":1,\"position\":6,\"quality\":1,\"consumeUnit\":1,\"requireLv\":8,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":30505,\"picid\":30005,\"composeFlag\":0,\"additionDescList\":[\"耐久度+0.67\"],\"getwayList\":[{\"levelId\":4005,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型6\"}],\"equipList\":[]}],\"colorDesc\":\"红色\",\"carDescription\":\"延续MINI前辈们的可爱风,融合德国严谨的动力设计,在保证性能至上的同时,运动感更强。\",\"qualityLv\":0,\"overallPerformance\":27654,\"maxAccelerate\":40.0,\"maxTopSpeed\":234.0,\"maxNitrogenSpeed\":135.0,\"maxControl\":1560.0,\"maxDurability\":79.0,\"ownChipNum\":0,\"requireChipNum\":10,\"upgradeStarFlag\":0},{\"name\":\"MINI ROADSTER\",\"id\":null,\"type\":3,\"control\":730.047287767685,\"feature\":\"最大车速加成\",\"status\":2,\"playerId\":null,\"carId\":6,\"color\":1,\"experience\":null,\"star\":1,\"quality\":1,\"price\":3200,\"picId\":6,\"equipFlag\":0,\"carLv\":1,\"purchaseLv\":1,\"consumeUnit\":2,\"grade\":1,\"exchangeChipNum\":20,\"accelerate\":21.00297895183905,\"topSpeed\":130.10401712111405,\"nitrogenSpeed\":75.03462108329691,\"durability\":35.50116365310477,\"openColorList\":null,\"advanceFlag\":0,\"playerCarEquipList\":[{\"name\":\"超跑-引擎\",\"status\":1,\"position\":1,\"quality\":1,\"consumeUnit\":1,\"requireLv\":1,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":31000,\"picid\":30000,\"composeFlag\":0,\"additionDescList\":[\"加速度+1.08\"],\"getwayList\":[{\"levelId\":4000,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型1\"}],\"equipList\":[]},{\"name\":\"超跑-氮气\",\"status\":1,\"position\":2,\"quality\":1,\"consumeUnit\":1,\"requireLv\":2,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":31001,\"picid\":30001,\"composeFlag\":0,\"additionDescList\":[\"氮气速度+2.7\"],\"getwayList\":[{\"levelId\":4001,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型2\"}],\"equipList\":[]},{\"name\":\"超跑-涡轮增压\",\"status\":1,\"position\":3,\"quality\":1,\"consumeUnit\":1,\"requireLv\":4,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":31002,\"picid\":30002,\"composeFlag\":0,\"additionDescList\":[\"最高速度+4.31\"],\"getwayList\":[{\"levelId\":4002,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型3\"}],\"equipList\":[]},{\"name\":\"超跑-避震器\",\"status\":1,\"position\":4,\"quality\":1,\"consumeUnit\":1,\"requireLv\":7,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":31003,\"picid\":30003,\"composeFlag\":0,\"additionDescList\":[\"操控性+20.22\"],\"getwayList\":[{\"levelId\":4003,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型4\"}],\"equipList\":[]},{\"name\":\"超跑-座椅\",\"status\":1,\"position\":5,\"quality\":1,\"consumeUnit\":1,\"requireLv\":8,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":31004,\"picid\":30004,\"composeFlag\":0,\"additionDescList\":[\"最高速度+1.08\"],\"getwayList\":[{\"levelId\":4004,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型5\"}],\"equipList\":[]},{\"name\":\"超跑-轮胎\",\"status\":1,\"position\":6,\"quality\":1,\"consumeUnit\":1,\"requireLv\":8,\"requireNum\":0,\"ownNum\":0,\"consume\":2000,\"equipId\":31005,\"picid\":30005,\"composeFlag\":0,\"additionDescList\":[\"耐久度+0.81\"],\"getwayList\":[{\"levelId\":4005,\"raceMode\":1,\"getWayName\":\"常规赛|成都比赛类型6\"}],\"equipList\":[]}],\"colorDesc\":\"红色\",\"carDescription\":\"经典双座敞篷跑车,灵巧的身材和炫酷的设计尽显高大上,宛如隧道的一颗流星,马路超车终极杀手。\",\"qualityLv\":0,\"overallPerformance\":34322,\"maxAccelerate\":40.0,\"maxTopSpeed\":234.0,\"maxNitrogenSpeed\":135.0,\"maxControl\":1560.0,\"maxDurability\":79.0,\"ownChipNum\":0,\"requireChipNum\":10,\"upgradeStarFlag\":0}],\"equipFlag\":0},\"n\":[]}";
//		return "{\"msg\":null,\"code\":0,\"o\":{\"raceModeDto\":[{\"name\":\"常规赛\",\"desc\":\"常规赛\",\"raceMode\":1,\"currentProgress\":0,\"totalProgress\":24},{\"name\":\"精英赛\",\"desc\":\"精英赛\",\"raceMode\":2,\"currentProgress\":0,\"totalProgress\":24},{\"name\":\"竞夺赛\",\"desc\":\"竞夺赛\",\"raceMode\":3,\"currentProgress\":0,\"totalProgress\":3},{\"name\":\"活动赛\",\"desc\":\"活动赛\",\"raceMode\":4,\"currentProgress\":0,\"totalProgress\":3}]},\"n\":[]}";
//		return "{\"msg\":null,\"code\":0,\"o\":{\"raceModeDto\":[{},{},{},{},{},{},{},{}]},\"n\":[]}";
	}


你可能感兴趣的:(游戏客户端和服务器 大数据 压缩)