MSI\liwei 4 éve
szülő
commit
40ce94a87b

+ 2 - 2
king-boot-module-ad/src/main/java/org/king/modules/ad/controller/StaticalController.java

@@ -67,9 +67,9 @@ public class StaticalController {
 
     @GetMapping(value = "/getChargeRecord")
     public Result<?> getChargeRecord(){
-//        String json = HttpUtil.get("http://36.154.210.106:8090/ybl/czs/ship/anchorOverTwoHours");
+        String json = HttpUtil.get("http://36.154.210.106:8090/ybl/czs/ship/anchorOverTwoHours");
         List<BaseShipInfo> shipInfos = new ArrayList<BaseShipInfo>();
-        String json = readJsonFile("d://ad.json");
+//        String json = readJsonFile("d://ad.json");
         JSONObject jsonObject = JSONObject.parseObject(json);
         if(jsonObject.get("code").toString().equals("200")){
                 SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");