feat: 添加仅已购用户筛选功能

This commit is contained in:
2025-12-20 23:30:51 +08:00
parent 257c9a286a
commit 661a595fa7
4 changed files with 67 additions and 8 deletions

View File

@@ -4,5 +4,7 @@ import "quyun/v2/app/requests"
type UserListQuery struct {
*requests.Pagination
Keyword *string `query:"keyword"`
Keyword *string `query:"keyword"` // 关键词(模糊匹配手机号/用户名;若为数字且>0则同时按用户 ID 精确匹配)
OnlyBought *bool `query:"onlyBought"` // 是否仅返回“购买数量>0”的用户true=仅已购用户false/空=全部用户)
}