Documentation ¶
Index ¶
- func Json(r *ghttp.Request, code int, message string, data ...interface{})
- func JsonExit(r *ghttp.Request, code int, message string, data ...interface{})
- func JsonRedirect(r *ghttp.Request, code int, message, redirect string, data ...interface{})
- func JsonRedirectExit(r *ghttp.Request, code int, message, redirect string, data ...interface{})
- func ToXls(r *ghttp.Request, content io.ReadSeeker, fileTag string)
- type JsonRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonRedirect ¶
JsonRedirect 返回标准JSON数据引导客户端跳转。
func JsonRedirectExit ¶
JsonRedirectExit 返回标准JSON数据引导客户端跳转,并退出当前HTTP执行函数。
Types ¶
Click to show internal directories.
Click to hide internal directories.