From be5351fe3cc2714756ae43ab272cf8813cb0fe98 Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期三, 13 九月 2023 14:47:40 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/CanadaMes

---
 springboot-vue3/src/main/resources/application.properties |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/springboot-vue3/src/main/resources/application.properties b/springboot-vue3/src/main/resources/application.properties
index e3d98da..92e61eb 100644
--- a/springboot-vue3/src/main/resources/application.properties
+++ b/springboot-vue3/src/main/resources/application.properties
@@ -12,7 +12,7 @@
 #\u6570\u636E\u5E93\u7528\u6237\u5BC6\u7801  
 spring.datasource.password=beibo.123/
 #\u6620\u5C04\u6587\u4EF6\u7684\u4F4D\u7F6E
-mybatis-plus.mapper-locations=classpath:com/example/springboot/dao/*Dao.xml
+mybatis-plus.mapper-locations=classpath:com/example/springboot/mapper/*Mapper.xml
 #\u7C7B\u578B\u522B\u540D
 mybatis-plus.type-aliases-package=com.example.springboot.entity
 #\u914D\u7F6Esql\u6253\u5370
@@ -21,4 +21,9 @@
 spring.main.allow-bean-definition-overriding=true
 #\u683C\u5F0F\u5316date\u65E5\u671F\u683C\u5F0F
 spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
-spring.jackson.time-zone=GMT+8
\ No newline at end of file
+spring.jackson.time-zone=GMT+8
+
+spring.mvc.cors.enabled=true
+spring.mvc.cors.allowed-origins=http://localhost:8080
+spring.mvc.cors.allowed-methods=GET,POST
+spring.mvc.cors.allowed-headers=*
\ No newline at end of file

--
Gitblit v1.8.0