仅选取游戏截图

This commit is contained in:
2024-11-08 17:06:46 +08:00
parent 00abb0e504
commit a196ada6e3
3 changed files with 3 additions and 30 deletions

View File

@@ -567,7 +567,7 @@ func NewSchema(config Config) (graphql.Schema, error) {
// 存在外部筛选条件
if len(id_list) > 0 && len(list) > 0 {
query = query.Where("id IN ?", list).Where("article_id IS NOT NULL")
query = query.Where("id IN ?", list).Where("article_category_top_id = 22")
}
for index, item := range LoadItem(p.Info.FieldASTs[0].SelectionSet.Selections) {