摘要: Header // 设置响应的 Content-Type 头,告诉客户端返回的数据类型(如 "application/json")。 func (ctx *RequestContext) SetContentType(contentType string) // 设置响应的 Content-Type 阅读全文
posted @ 2025-02-27 16:23 厚礼蝎 阅读(109) 评论(0) 推荐(0)