diff --git a/spring-boot-springdoc/src/main/java/com/jnssd/config/CorsConfig.java b/spring-boot-springdoc/src/main/java/com/jnssd/config/CorsConfig.java
new file mode 100644
index 0000000..8b0732d
--- /dev/null
+++ b/spring-boot-springdoc/src/main/java/com/jnssd/config/CorsConfig.java
@@ -0,0 +1,22 @@
+package com.jnssd.config;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.web.servlet.config.annotation.CorsRegistry;
+import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
+
+/**
+ * @author zxj
+ * @since 2023-10-20 14:38:00
+ * @apiNote 配置接口跨域请求问题
+ */
+@Configuration
+public class CorsConfig implements WebMvcConfigurer {
+ @Override
+ public void addCorsMappings(CorsRegistry registry) {
+ registry.addMapping("/**")
+ .allowedOrigins("*")
+ .allowedMethods("GET", "POST", "PUT", "DELETE")
+ .allowedHeaders("*");
+ }
+
+}
diff --git a/spring-boot-springdoc/src/main/java/com/jnssd/controller/MenuController.java b/spring-boot-springdoc/src/main/java/com/jnssd/controller/MenuController.java
index ee9e83e..21a00f7 100644
--- a/spring-boot-springdoc/src/main/java/com/jnssd/controller/MenuController.java
+++ b/spring-boot-springdoc/src/main/java/com/jnssd/controller/MenuController.java
@@ -1,11 +1,10 @@
package com.jnssd.controller;
import com.jnssd.model.Menu;
+import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.http.ResponseEntity;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Objects;
@@ -17,6 +16,7 @@ import java.util.Objects;
* @author zxj
* @since 2023-10-12 16:33:23
*/
+@Tag(name = "菜单", description = "菜单")
@RestController
@RequestMapping("/menu")
public class MenuController {
@@ -27,13 +27,15 @@ public class MenuController {
List