Vestmore_GO/utils/basic/error_code.go

11 lines
185 B
Go

package basic
type ErrorCode struct {
Code int `json:"code"`
Message string `json:"message"`
}
var (
ErrParamParse = &ErrorCode{Code: 10100, Message: "参数解析错误"}
)