fix: 后台用户查询按字符串返回用户ID
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user