Commit 879fbed2 by wubh

包活干V2.3.0-修改设备校验方式

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@30395 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent ac05ecc2
......@@ -2,7 +2,6 @@ package com.glsx.ordercenter.service.impl;
import java.util.Date;
import java.util.List;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.glsx.ordercenter.constants.BizConstants;
import com.glsx.ordercenter.constants.ResultCodeEnum;
......@@ -89,8 +88,7 @@ public class MsDeviceServiceImpl implements MsDeviceService {
boolean locationValid;
try {
String dataJson = respData.getString("data");
JSONObject innerData = JSON.parseObject(dataJson).getJSONObject("data");
JSONObject innerData = respData.getJSONObject("data");
Long gpsTime = innerData.getLong("gpsTime");
Integer type = innerData.getInteger("type");
long currentMs = new Date().getTime();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!