spark-server/docs/daily/2026-09-24-change-list-sleepheart.md
DESKTOP-L8OUL9F\gfl0034 1edcb959b7 feat: 补好友拒绝、客户端配置 API 与 OpenAPI/popadmin
为 Spark Messenger 主路径补齐 POST /v1/friends/requests/reject,并落地法律协议/反馈/订阅/密码登录及管理页,同步 OpenAPI 文档。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 14:01:46 +08:00

33 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 每日变动 2026-09-24
## 13:50 — SleepHeart 客户端能力与 popadmin
### 概要
- App 展示名统一为 **SleepHeart**;Bundle ID 保持 `health.wyrs365.com`
- spark-server 新增法律文档 / 反馈 / 订阅套餐 / 密码登录 API,并在 popadmin 增加管理页
- HealthiOS 将原先 mock 的密码登录、反馈、订阅配置改为对接真接口(失败仍可 mock 回退)
### 变更范围
| 类型 | 说明 |
|------|------|
| 功能 | 客户端配置与密码登录 |
| 管理端 | popadmin 隐私协议 / 订阅配置 / App反馈 |
| 客户端 | SleepHeart 品牌与 API 对接 |
### 主要文件
- `migrations/0023_client_legal_feedback_subscription.sql` — 表与种子数据
- `internal/module/client/**` — 业务与仓储
- `internal/transport/http/handler/client`、`handler/admin/client.go`、`router*.go`、`auth.go`
- `deploy/popadmin/popadmin.js` — 三页管理 UI
- `HealthiOS` pbxproj / L10n / AuthService / APIModels
### 验证
- `go test`:本机 PATH 无 go,未在本会话跑通 make test(需部署环境验证)
- iOS:UI 门控已有;网络层已改 path,需 xcodebuild 再确认
EOF