xuzhiheng 1 жил өмнө
parent
commit
cac0fc1ccc
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  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)
 }