Commit 315863bc by 杨树贤

加入坤哥的方式

parent e6da217e
Showing with 5 additions and 0 deletions
...@@ -323,7 +323,12 @@ func (ls *LyService) LyGoodsDetail(ctx context.Context, params RequestParams, go ...@@ -323,7 +323,12 @@ func (ls *LyService) LyGoodsDetail(ctx context.Context, params RequestParams, go
//(*goodsRes)[goodsId] = A //(*goodsRes)[goodsId] = A
} }
select {
case <-ctx.Done():
return
default:
ch <- GoodsRes ch <- GoodsRes
}
} }
// 获取活动 // 获取活动
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment