- 实现GET /api/user/list接口 - 支持分页查询、关键词搜索、状态筛选、排序等功能 - 创建createQuerySchema工具函数,合并分页和自定义参数 - 修复Schema类型问题,确保参数验证完整性 - 使用count(id)计算总数,确保返回数字类型 关联任务10.0 |
||
---|---|---|
.. | ||
auth | ||
captcha | ||
health | ||
test | ||
user | ||
index.ts | ||
tags.ts |
- 实现GET /api/user/list接口 - 支持分页查询、关键词搜索、状态筛选、排序等功能 - 创建createQuerySchema工具函数,合并分页和自定义参数 - 修复Schema类型问题,确保参数验证完整性 - 使用count(id)计算总数,确保返回数字类型 关联任务10.0 |
||
---|---|---|
.. | ||
auth | ||
captcha | ||
health | ||
test | ||
user | ||
index.ts | ||
tags.ts |