From 27a390f0d660500d2a93b812e41f9ac6db2643cb Mon Sep 17 00:00:00 2001 From: satori Date: Sat, 28 Dec 2024 04:40:56 +0800 Subject: [PATCH] type --- api/collect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/collect.go b/api/collect.go index f726bfd..0fd3723 100644 --- a/api/collect.go +++ b/api/collect.go @@ -82,7 +82,7 @@ var CollectionItems = &graphql.Field{ Args: graphql.FieldConfigArgument{ "id": &graphql.ArgumentConfig{Type: graphql.Int, Description: "筛选收藏中指定ID的"}, "title": &graphql.ArgumentConfig{Type: graphql.String, Description: "筛选收藏中含有指定标题的"}, - "type": &graphql.ArgumentConfig{Type: graphql.Int, Description: "筛选收藏中含有指定类型的"}, + "type": &graphql.ArgumentConfig{Type: graphql.String, Description: "筛选收藏中含有指定类型的"}, "create_time": &graphql.ArgumentConfig{Type: graphql.DateTime, Description: "筛选收藏中创建时间等于指定值的"}, "update_time": &graphql.ArgumentConfig{Type: graphql.DateTime, Description: "筛选收藏中更新时间等于指定值的"}, "sort": &graphql.ArgumentConfig{Type: graphql.String, Description: "按指定字段排序", DefaultValue: "id"},