diff --git a/jimureport-example/pom.xml b/jimureport-example/pom.xml
index cf32331..64f2d31 100644
--- a/jimureport-example/pom.xml
+++ b/jimureport-example/pom.xml
@@ -65,7 +65,7 @@
org.jeecgframework.jimureport
jimureport-spring-boot3-starter
- 2.1.3
+ 2.1.5
diff --git a/jimureport-example/src/main/java/com/jeecg/modules/jmreport/config/CustomCorsConfiguration.java b/jimureport-example/src/main/java/com/jeecg/modules/jmreport/config/CustomCorsConfiguration.java
new file mode 100644
index 0000000..cf94b16
--- /dev/null
+++ b/jimureport-example/src/main/java/com/jeecg/modules/jmreport/config/CustomCorsConfiguration.java
@@ -0,0 +1,18 @@
+package com.jeecg.modules.jmreport.config;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.web.servlet.config.annotation.CorsRegistry;
+import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
+
+@Configuration("jmCorsConfiguration")
+public class CustomCorsConfiguration implements WebMvcConfigurer {
+ @Override
+ public void addCorsMappings(CorsRegistry registry) {
+ registry.addMapping("/**") // 所有接口
+ .allowCredentials(true) // 是否发送 Cookie
+ .allowedOriginPatterns("*") // 支持域
+ .allowedMethods(new String[]{"GET", "POST", "PUT", "DELETE"}) // 支持方法
+ .allowedHeaders("*")
+ .exposedHeaders("*");
+ }
+}
\ No newline at end of file
diff --git a/jimureport-example/src/main/resources/application-dev.yml b/jimureport-example/src/main/resources/application-dev.yml
index 714e82c..5539c90 100644
--- a/jimureport-example/src/main/resources/application-dev.yml
+++ b/jimureport-example/src/main/resources/application-dev.yml
@@ -1,5 +1,5 @@
server:
- port: 8085
+ port: 8082
spring:
#数据库
datasource:
@@ -69,6 +69,10 @@ jeecg:
sender: "???"
username: "??@??.com"
password: "???"
+ # 是否开启ssl
+ #ssl: true
+ # smtp端口
+ #port: 465
#多租户模式,默认值为空(created:按照创建人隔离、tenant:按照租户隔离)
saasMode:
# 平台上线安全配置