偏好推荐修正
This commit is contained in:
@@ -197,6 +197,12 @@ func NewSchema(config Config) (graphql.Schema, error) {
|
||||
go checkColorNullRows()
|
||||
}
|
||||
|
||||
// 定时检查点赞收藏记录
|
||||
if config.Gorse.Open {
|
||||
fmt.Println("开启用户偏好收集")
|
||||
gorseInit(config.Gorse.Host, config.Gorse.Port)
|
||||
}
|
||||
|
||||
// 用户的可选字段
|
||||
user := graphql.NewObject(graphql.ObjectConfig{
|
||||
Name: "User",
|
||||
|
Reference in New Issue
Block a user