feat(lookup): 用户前缀查找放宽至单字符——中文姓氏单字搜索(全链路)
契约 minLength 2→1 + 服务端 bounds 1..64 + admin 两处/App 一处前端门槛 同步放宽;防抖测试基线更新('s' 与合并后 'sta' 共两条)。 Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -1330,10 +1330,10 @@ paths:
|
||||
parameters:
|
||||
- name: accountPrefix
|
||||
in: query
|
||||
description: 账号或姓名前缀(≥2 字符以防过宽匹配;提供即进入前缀模式;大小写敏感——中文姓名无大小写语义)。
|
||||
description: 账号或姓名前缀(≥1 字符——中文姓氏单字搜索合理,2026-09-29 放宽;提供即进入前缀模式;大小写敏感——中文姓名无大小写语义)。
|
||||
schema:
|
||||
type: string
|
||||
minLength: 2
|
||||
minLength: 1
|
||||
maxLength: 64
|
||||
- name: query
|
||||
in: query
|
||||
|
||||
+1
-1
@@ -4442,7 +4442,7 @@ export interface operations {
|
||||
listAdminUsers: {
|
||||
parameters: {
|
||||
query?: {
|
||||
/** @description 账号或姓名前缀(≥2 字符以防过宽匹配;提供即进入前缀模式;大小写敏感——中文姓名无大小写语义)。 */
|
||||
/** @description 账号或姓名前缀(≥1 字符——中文姓氏单字搜索合理,2026-09-29 放宽;提供即进入前缀模式;大小写敏感——中文姓名无大小写语义)。 */
|
||||
accountPrefix?: string;
|
||||
/**
|
||||
* @description 管理列表过滤:账号或展示名前缀(大小写敏感二进制前缀匹配,同
|
||||
|
||||
Reference in New Issue
Block a user