Skip to content

I40: /v1/events 正文读取顺序修复(#176) - #182

Merged
BuleFACE merged 2 commits into
batch/30from
issue/30-I40
Dec 6, 2026
Merged

BuleFACE merged 2 commits into
batch/30from
issue/30-I40

Conversation

@BuleFACE

@BuleFACE BuleFACE commented Dec 6, 2026

Copy link
Copy Markdown
Owner

Closes #176

关构建 #14 复验 F2:express.json() 先消费请求流,薄壳再 readBody 读到空串,application/json 恒 400 org_id 必填(text/plain 同 body 回 201)。修法按定死口径:req.body 已解析则对象 JSON.stringify / 字符串原样,undefined 才读流;超限在归一后字节数上判定;未把路由摘出 body-parser。补三例单测(json 201 / 无 body 400 / 超 16KB 400)。门禁:platform-core 98 files 1489 passed(基线 1486,+3)、tsc exit 0、eslint exit 0。

@BuleFACE
BuleFACE merged commit 5a97f1a into batch/30 Dec 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant