diff --git a/pom.xml b/pom.xml
index 2bc7fc2..778b37e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,6 +26,7 @@
mybatis-spring-boot-starter
2.2.2
+
com.baomidou
diff --git a/src/main/java/com/song/usercenter/controller/UserController.java b/src/main/java/com/song/usercenter/controller/UserController.java
index 66a28cc..5e5f393 100644
--- a/src/main/java/com/song/usercenter/controller/UserController.java
+++ b/src/main/java/com/song/usercenter/controller/UserController.java
@@ -26,7 +26,6 @@
@RestController
@RequestMapping("/user")
@Api("用户信息管理")
-@CrossOrigin
public class UserController {
@Resource
private UserService userService;
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 2eec32a..098620d 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -27,9 +27,6 @@ server:
port: 8080
servlet:
context-path: /api
- session:
- cookie:
- domain: localhost
mybatis-plus:
configuration: