Documentation ¶
Overview ¶
Package iris_utils iris response Subpackage
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseStatusBadRequest ¶
code code msg 消息 data 消息体
func ResponseStatusOK ¶
code code msg 消息 data 消息体
Types ¶
type ResponseBody ¶
type ResponseBody struct { Code int `json:"code"` Msg string `json:"msg"` Data interface{} `json:"data"` }
返回参数
Click to show internal directories.
Click to hide internal directories.