From 6dc8d52debd9ea20fb793ef2f814b9fb08716db8 Mon Sep 17 00:00:00 2001
From: hotleave <hotleave@gmail.com>
Date: 星期五, 18 六月 2021 11:51:32 +0800
Subject: [PATCH] 解决录像回放无法转码播放问题

---
 src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java b/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java
index d237b16..2d92658 100644
--- a/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java
+++ b/src/main/java/com/genersoft/iot/vmp/VManageBootstrap.java
@@ -3,10 +3,13 @@
 import java.util.logging.LogManager;
 
 import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.context.ConfigurableApplicationContext;
+import springfox.documentation.oas.annotations.EnableOpenApi;
 
 @SpringBootApplication
+@EnableOpenApi
 public class VManageBootstrap extends LogManager {
 	private static String[] args;
 	private static ConfigurableApplicationContext context;
@@ -20,4 +23,5 @@
 		VManageBootstrap.context = SpringApplication.run(VManageBootstrap.class, args);
  
 	}
+
 }

--
Gitblit v1.8.0