| | |
| | | params.put("beginTime", beginTime); |
| | | params.put("endTime", endTime); |
| | | params.put("rectify", rectify); |
| | | params.put("callbackUrl", "http://2h3f861221.wicp.vip/car/SaveUrl"); |
| | | params.put("callbackUrl", "http://s16s652780.51mypc.cn/api/car/SaveUrl"); |
| | | params.put("callbackId", "1"); |
| | | params.put("appId", "PO00000761"); |
| | | params.put("timestamp", System.currentTimeMillis()); |
| | |
| | | csvurl = null; |
| | | List<String> allString = new ArrayList<>(); |
| | | DowloadZipUtil dowloadZipUtil = new DowloadZipUtil(); |
| | | File file = dowloadZipUtil.downloadFile(fileUrl, "D:\\caiji"); |
| | | File file = dowloadZipUtil.downloadFile(fileUrl, "E:\\nginx-1.18.0\\dist\\car"); |
| | | //文件名 |
| | | String name = file.getName(); |
| | | String substring = name.substring(0, name.length() - 4); |
| | | System.out.println(substring); |
| | | //解压数据 |
| | | FileZip fileZip = new FileZip(); |
| | | fileZip.ZipUncompress("D:\\caiji\\" + substring + ".zip", "D:\\caiji"); |
| | | csvurl = "D:\\caiji\\" + substring + ".csv"; |
| | | fileZip.ZipUncompress("E:\\nginx-1.18.0\\dist\\car\\" + substring + ".zip", "E:\\nginx-1.18.0\\dist\\car"); |
| | | csvurl = substring + ".csv"; |
| | | } |
| | | /** |
| | | * 人员 |