xuzhiheng 1 year ago
parent
commit
9dcd995abd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      service/company.go

+ 2 - 2
service/company.go

@@ -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 {