Commit Graph

34 Commits

Author SHA1 Message Date
ce9c7a13aa feat: 互相关注后自动成为好友
一方关注只记关注。双方互关时写入已有双向好友边;取消关注若不再互关只删好友边,不删消息。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 21:51:18 +08:00
0471749141 docs: 公开规范补上客户端页面跳转
记录当前 iOS 导航,不新增接口。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 20:35:11 +08:00
64a5849a3d docs: 公开规范补齐命令 8 的已读请求与成功响应
线上已接受 last_msg_id,文档命令表此前跳过第 8 行。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 20:26:18 +08:00
d293de34f5 实现 TCP READ(命令 8),已读水位前进时清未读并通知其他设备。
补上会员价格按平台筛选,并修正广场机器人测试的 Feed 调用,使 go test 能通过。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 18:22:08 +08:00
c4d1322cec feat(client): 按平台拆分会员价格,并归一 health 包名
同一时长可按 ios、android、web 分别定价;health.wyrs.com 对齐已入库的 health.wyrs365.com。
2026-10-12 17:21:00 +08:00
53426af122 feat: 多广场 channel、音乐公开 API 与订阅 package_name
支持 square/squarenovel/squaresteps/squarehealth 实例与 category 筛选;音乐增加免登录 grouped/track;订阅套餐按 package_name 区分;补 migration 0030/0031 与 OpenAPI。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-30 09:02:28 +08:00
zhr
7f2567cf15 feat: moderation 2026-09-29 16:37:36 +08:00
zhr
45720ae2e1 fix: lint check 2026-09-29 10:22:28 +08:00
c58b60419e feat(client): 接入同开发者应用墙 API 与管理端 CRUD
合并此前 stash 的 developer-apps:免登录列表、popadmin 管理与 0027 迁移。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 15:42:39 +08:00
59c73169e1 docs(media): 微调媒体说明与 OpenAPI 描述 2026-09-24 23:58:21 +08:00
5e8ab6e12b test: 补意见反馈登录/游客单测断言
覆盖游客缺 contact 失败与登录态 uid/app_version 回填,避免分流逻辑回归。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 16:25:10 +08:00
082f420347 feat: 意见反馈支持登录与游客分流
可选 Bearer 写入 auth_type/uid,游客必填 contact;Admin 与 popadmin 可按类型筛选。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 16:24:47 +08:00
zhr
d5c0d81e22 feat: update skill fix friend request reject 2026-09-24 15:25:23 +08:00
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
59c79c7d32 fix(openapi): 补全 Response 必填 description,修复 Swagger Fetch error
音乐/小说等 31 处 responses.200 缺 description,OpenAPI 3.0 校验失败导致 /docs 无法渲染。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 10:58:53 +08:00
zhr
13b42cef7b chore: 合并本地改动与 main(t_ 表名、lint、音乐分类)
在 fast-forward 到 origin/main 后解决 music logic/repo 冲突,SQL 与模型统一 t_* 表名;Makefile 修正 golangci-lint 变量并令 test/deploy 依赖 lint;补齐 admin/transport 等 lint 修复与 music logic 单测以满足覆盖率门禁。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 10:56:59 +08:00
6aa72ba3e7 fix(openapi): 修复 admin 分类 description 未加引号导致 YAML 解析失败
同步 config 中 admin JWT 密钥注释说明。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 10:44:07 +08:00
d3a68c3cad feat(music): 分类多对多、后台完整编辑与 OpenAPI
新增总/子分类与曲目绑定;playlist 可按 categoryId 筛选并返回分类树;
popadmin 支持行内改曲名/排序/上下架/会员开关与封面背景音频上传;文档同步。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 10:38:06 +08:00
b10c5d63a3 feat(brand): 三站替换四色火焰 logo 与 favicon
官网/docs 嵌入新品牌图;sparkapi nginx 可在未重建镜像时提供 /favicon.ico 与页头 logo。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 10:25:44 +08:00
ade98eef4d feat(music): 曲目增加背景图字段与管理端上传
新增 migration 0021(background_key/url)、playlist/CRUD 返回 backgroundUrl、
POST .../music/{id}/background,并热更 popadmin 音乐列表背景上传;公读策略放行 perm/music/*。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 09:17:21 +08:00
zhr
0a54e9b2ef feat: update api docs 2026-09-23 18:19:16 +08:00
ce2cdf6bf3 feat: music 运营曲目、seed 机器人欢迎消息,并补充 novels/music OpenAPI
合并 origin/main 设备注册后,纳入本地 music 模块、seed 命令与 popadmin 相关路由/文档;music migration 编号为 0020 以避免与 0019_devices 冲突。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 16:07:05 +08:00
zhr
bec98be1da feat: 1、update device rregister logic 2026-09-23 15:42:52 +08:00
zhr
b909cfbac0 feat: update sms docs 2026-09-22 17:39:38 +08:00
zhr
edec7d82e9 feat: 1、square 2、smtp 2026-09-22 17:07:26 +08:00
zhr
7f683ce150 feat: 1、optimmize deploy 2、message insert 2026-09-22 11:01:56 +08:00
zhr
0e84699df7 feat: 1、podadmin 2、user search 3、spark_id optimize 2026-09-21 15:24:46 +08:00
zhr
1f9f1949ad feat: user delete account 2026-09-20 17:49:09 +08:00
zhr
bebf76e582 feat: download url 2026-09-18 18:27:49 +08:00
zhr
0c821ffa16 feat: moment 2026-09-18 17:51:42 +08:00
zhr
c11fbda141 feat: update object key 2026-09-18 17:14:38 +08:00
zhr
8aa8e0bad9 feat: 私聊 群聊 群管理 上传 2026-09-18 14:50:41 +08:00
zhr
ae9a71034d feat: implement Spark IM V3 modular monolith
Add HTTP /v1 MVC, TCP send path, groups with server-side member-avatar collage, object-storage upload, and friends/favorites around the architecture-v3 layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 19:52:11 +08:00
zhr
6ce89511fa feat: init 2026-09-16 19:08:06 +08:00