摘要: Header // 设置响应的 Content-Type 头,告诉客户端返回的数据类型(如 "application/json")。 func (ctx *RequestContext) SetContentType(contentType string) // 设置响应的 Content-Type 阅读全文
posted @ 2025-02-27 16:23 厚礼蝎 阅读(2) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示