Gin 框架重复读取 http request body

		reqBodyBytes, _ := io.ReadAll(c.Request.Body)
		c.Request.Body = io.NopCloser(bytes.NewBuffer(reqBodyBytes))
posted @ 2024-11-25 20:36  nptr  阅读(22)  评论(0)    收藏  举报