refactor(reaction): 收敛为单选接口
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# 题目点评重写:从评分表单到表情 Reaction
|
||||
|
||||
> 2026-08-06 规则更新:评价已改为单选,点击一个表情后立即提交,且提交后不可修改。一人一题在数据库中最多保留一条记录。新请求字段为 `type`,新响应字段为 `mine_type: ReactionKey | null`;为支持前后端错序部署,过渡期仍接受单元素 `types` 并返回数组 `mine`。计数直接查询数据库,不使用 Redis 缓存。本文后续关于“最多选 3 个、可取消、整份覆盖、统计缓存”的内容仅保留为早期设计记录,不再代表当前行为。
|
||||
|
||||
日期:2026-08-06
|
||||
涉及仓库:`OnlineJudge`(后端)、`ojnext`(前端)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user