From e26e57ac18f12e667ee88e65a37b72d0ea788d4c Mon Sep 17 00:00:00 2001 From: Zhou Weidong <502333560@qq.com> Date: Mon, 19 Oct 2026 21:18:44 +0800 Subject: [PATCH] =?UTF-8?q?docs(plans):=20=E4=B8=8B=E5=8F=91=20K27.16=20de?= =?UTF-8?q?velop=20=E5=90=88=E5=B9=B6=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/plans/INBOX.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docs/plans/INBOX.md b/docs/plans/INBOX.md index 95a4d77..ff3e000 100644 --- a/docs/plans/INBOX.md +++ b/docs/plans/INBOX.md @@ -20,6 +20,31 @@ --- +## [待处理] 2026-10-19 | K27.16 客户端 develop 合并进 release/v1.0.0 + +**用户指令(2026-10-19,原文)**: +> 「然后把 dev 相关改动合并到release/v1.0.0」 + +**前置状态** +- `ReelShort` release/v1.0.0 = `814b2c0`(含 `3d0e080` 明文 HTTP/双网络修复 + 公网地址 `http://39.162.50.99:8081`)。 +- develop = `190e4f9`,领先 release 55 个提交(K22–K27 全部 UI/播放器/发现页改动)。 + +**口径** +1. 在 `release/v1.0.0` 上执行 `git merge --no-ff develop`,冲突按以下原则解决: + - `lib/core/config/app_config.dart`:**地址取 release**(`devHostBaseUrl` 与 `lanBaseUrl` 均为 `http://39.162.50.99:8081`),保留 release 的 `probeAndApplyBaseUrl()`;结构/其余方法取 develop。 + - `lib/main.dart`:保留 `await AppConfig.probeAndApplyBaseUrl();`。 + - `android/app/src/main/AndroidManifest.xml`:保留 `android:usesCleartextTraffic="true"`。 + - `lib/core/config/server_endpoint.dart`:采用 develop 的 `SharedPreferencesAsync` 版本。 + - `pubspec.yaml` / `pubspec.lock`:采用 develop 的依赖集合(`shared_preferences ^2.5.5`、`shared_preferences_platform_interface` dev 依赖、foundation override),不要保留 release 的低版本降级。 + - `lib/core/data/services/auth_session_store.dart`:采用 develop 版本。 + - 其余 K22–K27 的 UI/播放器/发现页/测试改动全部保留 develop 版本。 +2. 解决冲突后执行 `flutter pub get`,同步把 `test/config/server_endpoint_test.dart` 的地址断言改为 `http://39.162.50.99:8081`(保留 develop 的异步 SharedPreferences mock)。 +3. 门禁:`dart analyze lib test` 零告警 + `flutter test` 全过 + `flutter build apk --debug`。 +4. 合并提交后 push `release/v1.0.0`;作者 `Zhou Weidong <502333560@qq.com>`;禁 `git add -A`;PROGRESS 留痕(含冲突清单与门禁原始输出)。 +5. 真机验证由用户执行。 + +--- + ## [待处理] 2026-10-19 | K27.15 客户端默认 API 地址改回 192.168.31.187:8081 **用户指令(2026-10-19,原文)**: