This commit is contained in:
2024-11-06 02:40:47 +08:00
parent f731cd4dec
commit 4eb3857ac9
2 changed files with 8 additions and 25 deletions

View File

@@ -131,6 +131,7 @@ func NewSchema(config Config) (graphql.Schema, error) {
},
})
// 分类的可选字段
category := graphql.NewObject(graphql.ObjectConfig{
Name: "Category",
Description: "分类",