摘要:
背景:为了提高程序的通用性,需要将前端request中请求的参数,包含表单参数全部取到. 代码: 1 func DataMapByRequest(c *gin.Context)(dataMap map[string]string,err error) { 2 //必须先解析Form 3 c.Requ 阅读全文
posted @ 2021-11-29 18:38
xiaoyongdata
阅读(1424)
评论(0)
推荐(0)
浙公网安备 33010602011771号