| 123456789101112131415161718 |
- package errors
- import (
- "git.ikuban.com/server/kratos-utils/codes"
- )
- var (
- ErrorParams = codes.Error(1000, "参数错误")
- ErrorBasicApiIsNil = codes.Error(1400, "获取api失败")
- )
- func ErrorParam(msg string) error {
- return codes.Error(11000, msg)
- }
- func ErrorSystemByMsg(msg string) error {
- return codes.Error(10500, msg)
- }
|