소스 검색

fix comment

pull/30707/head
silverwind 3 주 전
부모
커밋
41bd63b6e8
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      services/context/base.go

+ 1
- 1
services/context/base.go 파일 보기

@@ -137,7 +137,7 @@ func (b *Base) JSON(status int, content any) {
}
}

// JSON render content as JSON
// HTMLString renders string as HTML
func (b *Base) HTMLString(status int, html string) {
b.Resp.Header().Set("Content-Type", "text/html;charset=utf-8")
b.Resp.WriteHeader(status)

Loading…
취소
저장