diff --git a/SpringDemo/pom.xml b/SpringDemo/pom.xml
index 07cc19a..db4fefb 100644
--- a/SpringDemo/pom.xml
+++ b/SpringDemo/pom.xml
@@ -30,7 +30,11 @@
17
-
+
+
+ org.springframework.boot
+ spring-boot-starter-security
+
org.apache.poi
@@ -44,6 +48,23 @@
5.0.0
+
+ org.springframework.boot
+ spring-boot-starter-integration
+
+
+
+
+ org.springframework.integration
+ spring-integration-ip
+
+
+
+
+
+
+
+
com.github.ben-manes.caffeine
diff --git a/SpringDemo/src/main/java/cn/whaifree/springdemo/config/SwaggerConfig.java b/SpringDemo/src/main/java/cn/whaifree/springdemo/config/SwaggerConfig.java
new file mode 100644
index 0000000..22fa38f
--- /dev/null
+++ b/SpringDemo/src/main/java/cn/whaifree/springdemo/config/SwaggerConfig.java
@@ -0,0 +1,42 @@
+//package cn.whaifree.springdemo.config;
+//
+//import io.swagger.v3.oas.models.ExternalDocumentation;
+//import io.swagger.v3.oas.models.OpenAPI;
+//import io.swagger.v3.oas.models.info.Info;
+//import org.springframework.beans.factory.annotation.Value;
+//import org.springframework.context.annotation.Bean;
+//import org.springframework.context.annotation.Configuration;
+//
+//
+//import java.util.ArrayList;
+//
+///**
+// * Created with IntelliJ IDEA.
+// *
+// * @author : 村雨遥
+// * @version : 1.0
+// * @project : springboot-swagger3-demo
+// * @package : com.cunyu.springbootswagger3demo.config
+// * @className : SwaggerConfig
+// * @createTime : 2022/1/6 14:19
+// * @email : 747731461@qq.com
+// * @微信 : cunyu1024
+// * @公众号 : 村雨遥
+// * @网站 : https://cunyu1943.github.io
+// * @description :
+// */
+//
+//@Configuration
+//public class SwaggerConfig {
+// @Bean
+// public OpenAPI openAPI() {
+// return new OpenAPI()
+// .info(new Info()
+// .title("接口文档标题")
+// .description("SpringBoot3 集成 Swagger3接口文档")
+// .version("v1"))
+// .externalDocs(new ExternalDocumentation()
+// .description("项目API文档")
+// .url("/"));
+// }
+//}
diff --git a/SpringDemo/src/main/java/cn/whaifree/springdemo/controller/SSE/SSEEmitter.java b/SpringDemo/src/main/java/cn/whaifree/springdemo/controller/SSE/SSEEmitter.java
index 2ad9641..4f38f89 100644
--- a/SpringDemo/src/main/java/cn/whaifree/springdemo/controller/SSE/SSEEmitter.java
+++ b/SpringDemo/src/main/java/cn/whaifree/springdemo/controller/SSE/SSEEmitter.java
@@ -1,55 +1,49 @@
-package cn.whaifree.springdemo.controller.SSE;
-
-import cn.hutool.core.util.StrUtil;
-import org.springframework.http.MediaType;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RestController;
-import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
-
-import java.io.IOException;
-import java.util.Map;
-
-/**
- * @version 1.0
- * @Author whai文海
- * @Date 2024/10/22 21:44
- * @注释
- */
-@RestController
-public class SSEEmitter {
-
- public static void main(String[] args) {
- int a = 127;
- byte c = (byte) a;
- System.out.println(Integer.toBinaryString(c));
- System.out.println(c);
- }
- Map sseEmitterMap = new java.util.HashMap<>();
-
- @GetMapping(value = "/sseStart", produces = MediaType.TEXT_EVENT_STREAM_VALUE)
- public SseEmitter sse(String key) {
- System.out.println(key);
- if (!sseEmitterMap.containsKey(key)) {
- SseEmitter sseEmitter = new SseEmitter();
- sseEmitterMap.put(key, sseEmitter);
- }
-
- return sseEmitterMap.get(key);
- }
-
- @PostMapping("sendSSE")
- public void send(String key, String message) {
- if (sseEmitterMap.containsKey(key)) {
- SseEmitter sseEmitter = sseEmitterMap.get(key);
- try {
- System.out.println(StrUtil.format("send message to {}:{}", key, message));
- sseEmitter.send(message);
- } catch (IOException e) {
- e.printStackTrace();
- }
- }else {
- throw new IllegalArgumentException("No such key");
- }
- }
-}
+//package cn.whaifree.springdemo.controller.SSE;
+//
+//import cn.hutool.core.util.StrUtil;
+//import org.springframework.http.MediaType;
+//import org.springframework.web.bind.annotation.GetMapping;
+//import org.springframework.web.bind.annotation.PostMapping;
+//import org.springframework.web.bind.annotation.RestController;
+//import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
+//
+//import java.io.IOException;
+//import java.util.Map;
+//
+///**
+// * @version 1.0
+// * @Author whai文海
+// * @Date 2024/10/22 21:44
+// * @注释
+// */
+//@RestController
+//public class SSEEmitter {
+//
+// Map sseEmitterMap = new java.util.HashMap<>();
+//
+// @GetMapping(value = "/sseStart", produces = MediaType.TEXT_EVENT_STREAM_VALUE)
+// public SseEmitter sse(String key) {
+// System.out.println(key);
+// if (!sseEmitterMap.containsKey(key)) {
+// SseEmitter sseEmitter = new SseEmitter();
+// sseEmitterMap.put(key, sseEmitter);
+// }
+//
+// return sseEmitterMap.get(key);
+// }
+//
+// @PostMapping("sendSSE")
+// public void send(String key, String message) {
+// if (sseEmitterMap.containsKey(key)) {
+// SseEmitter sseEmitter = sseEmitterMap.get(key);
+// try {
+// System.out.println(StrUtil.format("send message to {}:{}", key, message));
+// sseEmitter.send(message);
+// } catch (IOException e) {
+// e.printStackTrace();
+// }
+// }else {
+// throw new IllegalArgumentException("No such key");
+// }
+// }
+//}
diff --git a/SpringDemo/src/main/resources/template/empty.xlsx b/SpringDemo/src/main/resources/template/empty.xlsx
new file mode 100644
index 0000000..411097f
Binary files /dev/null and b/SpringDemo/src/main/resources/template/empty.xlsx differ