Selaa lähdekoodia

优化领取线索速度

xuzhiheng 1 vuosi sitten
vanhempi
commit
cac0fc1ccc
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      service/clue.go

+ 1 - 0
service/clue.go

@@ -781,6 +781,7 @@ func batchDraw(data []map[string]interface{}, nowTime, seatNumber, name string,
 			}
 		}(v)
 	}
+	wg.Wait()
 	return len(count)
 }