Commit 28e3c8e5 by 杨林龙

将apType可配置

1 parent eaba0930
...@@ -802,7 +802,8 @@ public class HdaoGpsComponent { ...@@ -802,7 +802,8 @@ public class HdaoGpsComponent {
} }
public DataGpsLocation getWifiLocation(String sn) { public DataGpsLocation getWifiLocation(String sn) {
GpsWifiGetResponse wifiResponse = getLatestGpsWifiRecords(sn, 1); String apType = PropertiesUtils.getProperty("wifi.sn.Records.apType");
GpsWifiGetResponse wifiResponse = getLatestGpsWifiRecords(sn, Integer.parseInt(apType));
if (wifiResponse == null) { if (wifiResponse == null) {
return null; return null;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!