rain
2024-04-17 b6294bd36b3023e18606c77553fe136e6500a4b2
src/main/java/com/dji/sample/territory/service/impl/TbFjServiceImpl.java
@@ -59,11 +59,13 @@
        JSONObject jsonObject = JSONObject.parseObject(jsonString);
        Double absoluteAltitude = jsonObject.getDouble("absoluteAltitude");
        Double relativeAltitude = jsonObject.getDouble("relativeAltitude");
        Double gimbalYawDegree = jsonObject.getDouble("gimbalYawDegree");
        JSONObject shootPosition = jsonObject.getJSONObject("shootPosition");
        Double lat = shootPosition.getDouble("lat");
        Double lng = shootPosition.getDouble("lng");
        Long pssj = mediaFile.getCreateTime();
        String bsm= UUID.randomUUID().toString();
        String fjmc= mediaFile.getFileName();
        String key = mediaFile.getObjectKey();
        String head = "http://dev.jxpskj.com:9000/cloud-bucket";
        String url = head + key;
@@ -79,6 +81,9 @@
                .Latitude(lat)
                .longitude(lng)
                .fj(FJ)
                .fjmc(fjmc)
                .fjlx(1)
                .psfyj(gimbalYawDegree)
                .pssj(String.valueOf(pssj))
                .build();}
        else {