Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BizException ¶
type BizException struct { Status int `json:"status"` Code string `json:"code"` Message string `json:"message"` Trace string `json:"trace"` }
BizException @Description: 业务异常,比如用户不存在,用户已经存在等,都可以panic
func (*BizException) Error ¶
func (e *BizException) Error() string
type NewCommentDto ¶
type NewCommentDto struct {
Name string `json:"content" form:"content"`
}
NewCommentDto comment dto
Click to show internal directories.
Click to hide internal directories.