This commit is contained in:
2026-05-27 08:45:18 +08:00
parent 2547decd29
commit 2a99b0bd5e
24 changed files with 869 additions and 133 deletions

View File

@@ -198,7 +198,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
CorsConfiguration config = new CorsConfiguration();
// 关键:设置允许的前端源(替换为你的实际前端域名,如https://ri.satabot.com)
// 填* 会有问题
// config.setAllowedOrigins(Arrays.asList("https://ri.satabot.com", "https://ai.satabot.com",
// config.setAllowedOrigins(Arrays.asList("https://ri.satabot.com", "https://pvcloud.satabot.com","https://ai.satabot.com",
// "https://serviceai.satabot.com", "https://serviceri.satabot.com", "https://pvs.satabot.com",
// "https://servicepvs.satabot.com", "https://servicepathplan.satabot.com", "https://solar.satabot.com",
// "https://servicestream.satabot.com", "http://192.168.2.58", "http://192.168.2.58"));