@@ -51,6 +51,12 @@ public class LoginController {
return iLoginService.logout();
}
+ @PostMapping("/test")
+ public Result test(@RequestParam(name = "picture1")MultipartFile picture1 ) throws IOException {
+ uploadImage.getVideoCom(picture1);
+ return iLoginService.logout();
+ }
+
@Autowired
@@ -8,6 +8,10 @@ server:
spring:
application:
name: huimv-admin
+ servlet:
+ multipart:
+ max-file-size: 20MB
+ max-request-size: 20MB
datasource: