From 27ad176af126076e49a757e7d852e8d5ca670b2d Mon Sep 17 00:00:00 2001 From: DJIsean <102007705+DJIsean@users.noreply.github.com> Date: Thu, 11 Aug 2022 15:13:09 +0800 Subject: [PATCH] Update HmsJsonUtil.java The alarm function of the device is not enabled. --- .../java/com/dji/sample/manage/model/common/HmsJsonUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/dji/sample/manage/model/common/HmsJsonUtil.java b/src/main/java/com/dji/sample/manage/model/common/HmsJsonUtil.java index 030bf5f..54ec81d 100644 --- a/src/main/java/com/dji/sample/manage/model/common/HmsJsonUtil.java +++ b/src/main/java/com/dji/sample/manage/model/common/HmsJsonUtil.java @@ -33,7 +33,7 @@ public class HmsJsonUtil { } - @PostConstruct +// @PostConstruct private void loadJsonFile() { try (InputStream inputStream = new ClassPathResource("hms.json").getInputStream()){ nodes = mapper.readTree(inputStream);