WH01243 před 1 rokem
rodič
revize
56770e9f1d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      clueSync/tag.go

+ 1 - 1
clueSync/tag.go

@@ -26,7 +26,7 @@ func tagAllSync() {
 	count := 0
 	now := time.Now()
 	var allUser []map[string]interface{}
-	startOfDay := time.Date(now.Year(), now.Month(), now.Day(), 0, 0, 0, 0, now.Location())
+	startOfDay := time.Date(now.Year(), now.Month(), now.Day()-1, 0, 0, 0, 0, now.Location())
 	TiDb.SelectByBath(100, func(l *[]map[string]interface{}) bool {
 		for _, v := range *l {
 			allUser = append(allUser, v)