Explorar o código

优化领取线索速度

xuzhiheng hai 1 ano
pai
achega
cac0fc1ccc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)
 }