同步点赞数据
This commit is contained in:
		@@ -106,6 +106,8 @@ func main() {
 | 
			
		||||
	if config.GetBool("gorse.open") {
 | 
			
		||||
		fmt.Println("开启用户偏好收集")
 | 
			
		||||
		api.GorseInit(config.GetString("gorse.host"), config.GetInt("gorse.port"))
 | 
			
		||||
		fmt.Println("同步点赞数据")
 | 
			
		||||
		go api.PutPraises()
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	schema, err := graphql.NewSchema(graphql.SchemaConfig{Query: graphql.NewObject(graphql.ObjectConfig{Name: "RootQuery", Fields: graphql.Fields{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user