Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Respone ¶
func Respone(context *gin.Context, resp ResponeStruct)
Types ¶
type ResponeStruct ¶
type ResponeStruct struct { //业务是否处理成功(查询类是否有返回数据) Success bool `json:"success"` //消息 Msg string `json:"msg"` //数据 Data interface{} `json:"data"` // 分页信息 Page interface{} `json:"page"` }
统一返回
Click to show internal directories.
Click to hide internal directories.