Skip to content

Commit a543aee

Browse files
authored
Merge pull request #464 from slow-stack/refactor/route-policy-v2
路由鉴权从「每个 handler 记得写」改成「注册的必填字段」:39 条路由逐条归档(open 19 / token-write 6 / token 14),漏声明或重复路径直接抛错让插件起不来。23 处手写 requireAuth 与函数本身删除,createApi 汇报的路由数改用 count()。六条结构断言 + 2130 tests 全绿。
2 parents 780e656 + 8ea9f78 commit a543aee

3 files changed

Lines changed: 285 additions & 66 deletions

File tree

0 commit comments

Comments
 (0)