From a7a6656125648f50c39c353955b18af256d63bed Mon Sep 17 00:00:00 2001 From: xiaowang <2161656029@qq.com> Date: Wed, 15 Jul 2026 18:16:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=90=8E=E7=AB=AF=E5=92=8C?= =?UTF-8?q?=E7=BD=91=E9=A1=B5=E5=89=8D=E7=AB=AF=E7=94=9F=E4=BA=A7=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/交接与当前状态.md | 8 ++++++++ docs/测试验收与上线记录.md | 9 +++++++++ docs/运维配置与集成说明.md | 2 +- docs/项目变更记录.md | 8 ++++++++ 4 files changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/交接与当前状态.md b/docs/交接与当前状态.md index 4e6776ec..3330d76a 100644 --- a/docs/交接与当前状态.md +++ b/docs/交接与当前状态.md @@ -1251,3 +1251,11 @@ rtk node -e "const fs=require('fs');const path=require('path');let n=0;function - 已完成:HTTP 80 已包含三个域名并统一 301 到 HTTPS。 - 当前可验证状态:正常证书校验下,`https://yunail.art/`、`https://www.yunail.art/`、`https://salon.yunail.art/` 和 `https://salon.yunail.art/health/check` 均返回预期内容。 - 后续关注:本次证书为手动 DNS-01 签发,后续续期需要保留或重新添加 `_acme-challenge` TXT 记录,或补齐阿里云 DNS API 凭据改为自动 DNS-01。 + +## 2026-07-15 后端与网页前端生产更新当前状态 + +- 已完成:生产后端和网页前端已更新到 release `20260715-180706`。 +- 已完成:3 个 Core 节点和 3 个 Gateway 节点均已重新发布并通过健康检查。 +- 已完成:Web current 已切换到 `/opt/jy-artist-frontend/releases/20260715-180706/dist`,设计师域名和店务域名均可访问。 +- 当前可验证状态:`https://yunail.art/health/check` 和 `https://salon.yunail.art/health/check` 均显示 `jy-gateway` 与 `jy-core` 为 3/3 healthy;`https://yunail.art/api/shop/list` 返回业务 JSON。 +- 本次未变更:生产数据库、Nacos 配置、证书、域名解析和小程序。 diff --git a/docs/测试验收与上线记录.md b/docs/测试验收与上线记录.md index a240af09..7b86266a 100644 --- a/docs/测试验收与上线记录.md +++ b/docs/测试验收与上线记录.md @@ -602,6 +602,15 @@ - 公网 HTTPS 验证:正常证书校验下,`https://yunail.art/` 和 `https://www.yunail.art/` 返回设计师端入口,`https://salon.yunail.art/` 返回店务端入口,`https://salon.yunail.art/health/check` 返回 Jayu Cloud gateway JSON。 - 结论:证书过期问题已解除;店务网页端已从 `yunail.art/jy-salon-front/` 切换为独立生产域名 `salon.yunail.art`。 +## 2026-07-15 后端与网页前端生产更新验证 + +- 构建验证:`JY-Core`、`JY-Gateway`、`JY-Artist-Frontend` 和 `JY-Salon-Front` 构建完成,前端构建仅出现 chunk size warning。 +- 发布验证:Core 已发布到 `JY-core01`、`JY-core02`、`JY-core03`;Gateway 已发布到 `JY-gateway01`、`JY-gateway02`、`JY-gateway03`;Web current 已切换到 `/opt/jy-artist-frontend/releases/20260715-180706/dist`。 +- 后端健康:3 个 Core 本机健康检查均返回 `JY-Core is running`;最终公网 Gateway 健康检查显示 `jy-gateway` 和 `jy-core` 均为 3/3 healthy。 +- 公网 HTTPS 验证:`https://yunail.art/`、`https://www.yunail.art/`、`https://salon.yunail.art/`、`https://salon.yunail.art/health/check` 均返回 200。 +- API 冒烟:`https://yunail.art/api/shop/list` 返回 200,响应为业务 JSON。 +- 未执行项:本次未执行数据库初始化、数据库重置、旧 JAR 清理和小程序发布。 + ## 2026-07-14 前端生产重发布与 Nginx 配置复核 - 构建验证:`JY-Artist-Frontend` 和 `JY-Salon-Front` 均已执行 `npm run build`,两端生产构建通过;设计师端存在 Vite 大 chunk 警告,未影响产物生成。 diff --git a/docs/运维配置与集成说明.md b/docs/运维配置与集成说明.md index c4255430..bcfe4cf8 100644 --- a/docs/运维配置与集成说明.md +++ b/docs/运维配置与集成说明.md @@ -768,7 +768,7 @@ $env:NACOS_USERNAME='nacos' - 设计师端域名:`yunail.art` 和 `www.yunail.art`。 - 店务端域名:`salon.yunail.art`。 - 静态资源发布目录:`/opt/jy-artist-frontend/releases//dist`。 -- 当前生效入口:`/opt/jy-artist-frontend/current`,由发布流程切换到最新 release。 +- 当前生效入口:`/opt/jy-artist-frontend/current`,由发布流程切换到最新 release;2026-07-15 已切换到 `/opt/jy-artist-frontend/releases/20260715-180706/dist`。 - 设计师网页端入口:`https://yunail.art/`,Nginx 根目录指向 `/opt/jy-artist-frontend/current`,SPA 兜底到 `/index.html`。 - 店务网页端入口:`https://salon.yunail.art/`,Nginx 根目录指向 `/opt/jy-artist-frontend/current/jy-salon-front`,SPA 兜底到 `/index.html`;同时必须配置 `location ^~ /jy-salon-front/`,以 `/opt/jy-artist-frontend/current` 为根目录映射带前缀的店务静态资源。 - 后端健康检查:`/health/check` 必须反向代理到网关 upstream `jayu_cloud_gateway`,不能落入前端 SPA 兜底。 diff --git a/docs/项目变更记录.md b/docs/项目变更记录.md index 544c8e56..3c149ff3 100644 --- a/docs/项目变更记录.md +++ b/docs/项目变更记录.md @@ -97,6 +97,14 @@ - 验证方式:`nginx -t` 通过并 reload 后保持 `nginx.service active`;公网 HTTPS 正常校验下 `https://yunail.art/` 和 `https://www.yunail.art/` 返回设计师端入口,`https://salon.yunail.art/` 返回店务端入口,`https://salon.yunail.art/health/check` 返回 Jayu Cloud gateway JSON。 - 后续事项:本次为手动 DNS-01 签发,后续续期前需保留或重新添加 `_acme-challenge` TXT 记录,或补齐阿里云 DNS API 凭据改为自动 DNS-01。 +## 2026-07-15 后端与网页前端生产更新 + +- 变更原因:用户确认当前代码已有更新,需要将后端和网页前端同步到生产环境。 +- 处理方式:基于当前仓库构建 `JY-Core.jar`、`JY-Gateway.jar`、`JY-Artist-Frontend` 和 `JY-Salon-Front`,生成 release `20260715-180706`;发布到 3 个 Core 节点、3 个 Gateway 节点和 Web/Nginx 节点。 +- 执行边界:本次使用当前初始化后的生产库,不执行数据库初始化、不重置数据库、不清理旧 JAR、不发布小程序。 +- 影响范围:后端运行 JAR、设计师网页端静态资源、店务网页端静态资源;不修改 Nacos 配置、数据库结构和生产证书。 +- 验证方式:3 个 Core 本机 `/health/check` 均成功;3 个 Gateway 本机 `/health/check` 均成功;公网 `https://yunail.art/`、`https://www.yunail.art/`、`https://salon.yunail.art/`、`https://salon.yunail.art/health/check` 和 `https://yunail.art/api/shop/list` 均返回 200;最终 Gateway/Core 注册实例均为 3/3 healthy。 + ## 2026-07-10 MessageHub SPUG 短信模板与兜底发送 - 变更原因:验证码短信需要在保留阿里云通道的同时接入 SPUG 模板,并按设计师端、店务端拆分 MessageHub 来源系统密钥;重发时需要根据上一条 MessageHub 状态决定沿用或切换通道。