diff --git a/virtual-patient-common/src/main/java/com/supervision/util/MinioUtil.java b/virtual-patient-common/src/main/java/com/supervision/util/MinioUtil.java
index 69566704..e24fd1a3 100644
--- a/virtual-patient-common/src/main/java/com/supervision/util/MinioUtil.java
+++ b/virtual-patient-common/src/main/java/com/supervision/util/MinioUtil.java
@@ -30,7 +30,7 @@ public class MinioUtil {
* 上传一个文件
*/
public static String uploadFile(InputStream stream, String objectName) throws Exception {
- ObjectWriteResponse objectWriteResponse = minioClient.putObject(PutObjectArgs.builder().bucket(bucketName).object(objectName)
+ ObjectWriteResponse objectWriteResponse = minioClient.putObject(PutObjectArgs.builder().bucket(bucketName).object(objectName).contentType("video/mp4")
.stream(stream, -1, 10485760).build());
return objectWriteResponse.object();
}
diff --git a/virtual-patient-web/pom.xml b/virtual-patient-web/pom.xml
index 4830043f..36b2ffbe 100644
--- a/virtual-patient-web/pom.xml
+++ b/virtual-patient-web/pom.xml
@@ -57,6 +57,36 @@
org.springframework.boot
spring-boot-starter-websocket
+
+ org.springframework.boot
+ spring-boot-test
+ test
+
+
+ junit
+ junit
+ test
+
+
+ org.springframework
+ spring-test
+ test
+
+
+ org.springframework.boot
+ spring-boot-test
+ test
+
+
+ junit
+ junit
+ test
+
+
+ org.springframework
+ spring-test
+ test
+