请教下,这个结构体后面 json:"code"
这种是啥意思
type JsonResult struct {
Code int `json:"code"` // 响应编码:0成功 401请登录 403无权限 500错误
Msg string `json:"msg"` // 消息提示语
Data interface{} `json:"data"` // 数据对象
Count int64 `json:"count"` // 记录总数
}