diff --git a/src/main/java/cn/nkk/hikvision/config/HikVisionAutoConfiguration.java b/src/main/java/cn/nkk/hikvision/config/HikVisionAutoConfiguration.java index 89d56ec..ee7d071 100644 --- a/src/main/java/cn/nkk/hikvision/config/HikVisionAutoConfiguration.java +++ b/src/main/java/cn/nkk/hikvision/config/HikVisionAutoConfiguration.java @@ -42,7 +42,7 @@ public HikVisionAutoConfiguration(HiKProperties properties) { @Bean @ConditionalOnWebApplication - @ConditionalOnProperty(prefix = "hik.enablePlay",havingValue = "true") + @ConditionalOnProperty(prefix = "hik",name="enablePlay",havingValue = "true") public PlayCtrl initPlay(HiKProperties properties) { PlayCtrl playControl = null; synchronized (PlayCtrl.class) {