From 8da5b91f6b805bfc9f187f81373deba72bb7e288 Mon Sep 17 00:00:00 2001 From: yeg <1347747024@qq.com> Date: 星期五, 11 九月 2026 12:01:46 +0800 Subject: [PATCH] 基础更新 --- talent-card-server/README.md | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/talent-card-server/README.md b/talent-card-server/README.md index a9ee888..1944f51 100644 --- a/talent-card-server/README.md +++ b/talent-card-server/README.md @@ -37,6 +37,11 @@ 服务默认地址:`http://localhost:8080` +HBuilderX 浏览器运行的人才端(7893)和商户端(7894)直接请求后端时,后端允许 +`http://localhost:7893`、`http://localhost:7894` 及对应的 `127.0.0.1` 来源访问 `/api/**`。 +如果使用其他前端域名或端口,通过 `CORS_ALLOWED_ORIGINS` 配置逗号分隔的完整来源地址 +(协议、主机、端口,不含路径),然后重启后端。部署时使用实际前端来源替换本机默认值。 + ### 本机旧库迁移修复 如果启动日志提示 `V9__operation_management.sql` 失败,且原因是旧的 `movie_ticket_record` 表缺少 `package_name`,先执行一次兼容修复脚本,再重新启动服务: -- Gitblit v1.7.1