补全图像字段

This commit is contained in:
2023-11-21 00:14:09 +08:00
parent f3c7441b11
commit 690dc974eb
2 changed files with 10 additions and 0 deletions

View File

@@ -107,6 +107,11 @@ func NewSchema() (graphql.Schema, error) {
"width": &graphql.Field{Type: graphql.Int},
"height": &graphql.Field{Type: graphql.Int},
"content": &graphql.Field{Type: graphql.String},
"remark": &graphql.Field{Type: graphql.String},
"description": &graphql.Field{Type: graphql.String},
"tags": &graphql.Field{Type: graphql.String},
"rank": &graphql.Field{Type: graphql.String},
"comment_num": &graphql.Field{Type: graphql.Int},
"article_category_top_id": &graphql.Field{Type: graphql.Int},
"praise_count": &graphql.Field{Type: graphql.Int},
"collect_count": &graphql.Field{Type: graphql.Int},