减少日志
This commit is contained in:
		@@ -174,7 +174,7 @@ func NewSchema(config Config) (graphql.Schema, error) {
 | 
				
			|||||||
					sortedCenters[i] = c.center
 | 
										sortedCenters[i] = c.center
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				fmt.Println("聚类后的颜色数量:", clusters)
 | 
									//fmt.Println("聚类后的颜色数量:", clusters)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				if err := db.Table("web_images").Where("id = ?", item.ID).Updates(map[string]interface{}{
 | 
									if err := db.Table("web_images").Where("id = ?", item.ID).Updates(map[string]interface{}{
 | 
				
			||||||
					"color_0_r": sortedCenters[0].R,
 | 
										"color_0_r": sortedCenters[0].R,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user