fix: 后台用户查询按字符串返回用户ID

This commit is contained in:
richjohnrambo
2026-09-16 13:10:37 +08:00
parent 846615db69
commit c0ab94723c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -110,6 +110,7 @@ func TestUserQuerySupportsKeywordAndUserIDs(t *testing.T) {
t.Fatalf("unexpected filter arguments: got %#v, want %#v", args, want)
}
for _, field := range []string{
"CAST(u.id AS CHAR) AS user_id",
"AS avatar",
"u.account_no AS display_no",
"AS register_type",