M7-08 P0 | open-or-create 会话逻辑(同一 scope 继续/新建) #76
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
目标
新增接口或前端逻辑:同一 scopeType + scopeId 查到最近会话就打开,没有就创建。
方案(后端实现)
请求 body 同 createSession。后端逻辑:
方案(前端实现)
M7-08 P1 | open-or-create 会话逻辑to M7-08 P0 | open-or-create 会话逻辑(同一 scope 继续/新建)完成情况
交付物
Service 层 —
createSession加入 open-or-create 逻辑:匹配规则
关键行为
scope=material/MA首次调用scope=material/MA再次调用scope=global每次调用Controller 层
@Res({ passthrough: true })动态设置状态码涉及文件