|
@@ -97,7 +97,7 @@ func DistributeClueShow(this *biservice.DistributeClueShowReq) *biservice.Distri
|
|
|
isOk := true
|
|
|
wg.Add(1)
|
|
|
ch <- true
|
|
|
- go func(isOk bool) {
|
|
|
+ go func(a string, isOk bool) {
|
|
|
defer func() {
|
|
|
wg.Done()
|
|
|
<-ch
|
|
@@ -119,7 +119,7 @@ func DistributeClueShow(this *biservice.DistributeClueShowReq) *biservice.Distri
|
|
|
clueArrs = append(clueArrs, a)
|
|
|
clueArrSync.Unlock()
|
|
|
}
|
|
|
- }(isOk)
|
|
|
+ }(a, isOk)
|
|
|
}
|
|
|
wg.Wait()
|
|
|
} else {
|