wang-hao-jie
2021-12-08 72ba09f4055bcaadca22530929408a3fcd74ceee
xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/util/HaiKangPost.java
@@ -1,5 +1,6 @@
package cn.exrick.xboot.your.util;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;
@@ -102,13 +103,18 @@
            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);
@@ -119,5 +125,9 @@
//      String code[] = {"b279d865eabe497db465eb2f4d2cc87d"};
//      System.out.println(findLatestGps(code));
//      PreviewURLsVo previewURLsVo = new PreviewURLsVo();
//      previewURLsVo.setCameraIndexCode("b279d865eabe497db465eb2f4d2cc87d");
//      previewURLs(previewURLsVo);
   }
}