摘要: func Download(c *gin.Context) { c.Writer.WriteHeader(http.StatusOK) //设置文件类型 c.Header("Content-Type", "application/vnd.ms-excel;charset=utf8") // Path 阅读全文
posted @ 2023-12-04 18:24 熊先生不开玩笑 阅读(622) 评论(0) 推荐(0)