| | |
| | | package cn.exrick.xboot.your.util; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | | |
| | |
| | | put("https://",findHistoryGpsDataApi); |
| | | } |
| | | }; |
| | | String eventTypes[] = {"5201154049"}; |
| | | String body= JSONUtil.toJsonStr(eventTypes); |
| | | BigDecimal eventTypes[] = {new BigDecimal(new String("5201154049"))}; |
| | | Map<String,Object> map = new HashMap<>(); |
| | | map.put("eventTypes",eventTypes); |
| | | String body= JSONUtil.toJsonStr(map); |
| | | System.out.println(body); |
| | | String result = ArtemisHttpUtil.doPostStringArtemis(path,body,null,null,"application/json"); |
| | | return result; |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | getTopicInfo(); |
| | | |
| | | // FindHistoryGpsRequest findHistoryGpsRequest = new FindHistoryGpsRequest(); |
| | | // findHistoryGpsRequest.setVehicleIndexCode("b279d865eabe497db465eb2f4d2cc87d"); |
| | | // findHistoryGpsRequest.setPageNo(1); |
| | |
| | | |
| | | // String code[] = {"b279d865eabe497db465eb2f4d2cc87d"}; |
| | | // System.out.println(findLatestGps(code)); |
| | | |
| | | // PreviewURLsVo previewURLsVo = new PreviewURLsVo(); |
| | | // previewURLsVo.setCameraIndexCode("b279d865eabe497db465eb2f4d2cc87d"); |
| | | // previewURLs(previewURLsVo); |
| | | } |
| | | } |