Commit 41ade6f3 by 杨树贤

测试

parent 72849c98
Showing with 1 additions and 0 deletions
...@@ -63,6 +63,7 @@ func (ls *LyService) LyGoodsDetail(ctx *gin.Context, goodsIds []string, ch chan ...@@ -63,6 +63,7 @@ func (ls *LyService) LyGoodsDetail(ctx *gin.Context, goodsIds []string, ch chan
//是否超时 //是否超时
timeout := ctx.Request.FormValue("timeout") timeout := ctx.Request.FormValue("timeout")
if timeout == "1" { if timeout == "1" {
time.Sleep(time.Second * 15) time.Sleep(time.Second * 15)
} }
......
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