跳过注释
This commit is contained in:
		@@ -46,13 +46,13 @@ func ParseToken(token string) (user_id int) {
 | 
			
		||||
// 定时检查补全颜色字段
 | 
			
		||||
func CheckColorNullRows(offset int) {
 | 
			
		||||
	for {
 | 
			
		||||
		time.Sleep(1 * time.Second)
 | 
			
		||||
		time.Sleep(60 * time.Second)
 | 
			
		||||
		var list []struct {
 | 
			
		||||
			ID      int
 | 
			
		||||
			Content string
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		fmt.Println("跳过的行数:", offset)
 | 
			
		||||
		//fmt.Println("跳过的行数:", offset)
 | 
			
		||||
		if err := db.Table("web_images").Select("id", "content").Where("article_category_top_id = 22").Where("color_0_r IS NULL").Offset(offset).Limit(100).Scan(&list).Error; err != nil {
 | 
			
		||||
			fmt.Println("定时检查补全颜色字段查询失败", err)
 | 
			
		||||
			continue
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user