fix
This commit is contained in:
@@ -194,9 +194,8 @@ func (l *CartListLogic) getUserCartRelativeList(ctx context.Context, userId int6
|
||||
}
|
||||
//******************************协程并发开始***********************************
|
||||
wait := sync.WaitGroup{}
|
||||
gorutine := 6 //注意要加协程这里要记得加
|
||||
errChan := make(chan error, gorutine)
|
||||
wait.Add(gorutine)
|
||||
errChan := make(chan error)
|
||||
wait.Add(6) //注意要加协程这里要记得加
|
||||
//获取产品数据1
|
||||
go func() {
|
||||
defer wait.Done()
|
||||
|
||||
Reference in New Issue
Block a user