Commit 840cd331 by 杨树贤

修改超时时间

parent 4bfb45f8
Showing with 1 additions and 1 deletions
......@@ -135,7 +135,7 @@ func CommonController(ctx *gin.Context) map[string]interface{} {
//异步map最后转成map
temp := make(map[string]interface{})
timeout := time.After(time.Second * 20)
timeout := time.After(time.Second * 5)
for {
select {
case GoodsRes, ok := <-ch:
......
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