筛选条件
This commit is contained in:
@@ -46,10 +46,10 @@ var gameType = graphql.NewObject(graphql.ObjectConfig{
|
||||
"era": &graphql.Field{Type: graphql.String, Description: "游戏上线年份"},
|
||||
"create_time": &graphql.Field{Type: graphql.DateTime, Description: "游戏创建时间"},
|
||||
"update_time": &graphql.Field{Type: graphql.DateTime, Description: "游戏更新时间"},
|
||||
"praise_count": &graphql.Field{Type: graphql.Int, Description: "点赞数"},
|
||||
"collect_count": &graphql.Field{Type: graphql.Int, Description: "收藏数"},
|
||||
"praise": &graphql.Field{Type: graphql.Boolean, Description: "当前用户是否点赞"},
|
||||
"collect": &graphql.Field{Type: graphql.Boolean, Description: "当前用户是否收藏"},
|
||||
"praise_count": &graphql.Field{Type: graphql.Int, Description: "点赞数"},
|
||||
"collect_count": &graphql.Field{Type: graphql.Int, Description: "收藏数"},
|
||||
"text_count": &graphql.Field{Type: graphql.Int, Description: "文字数量"},
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user