+ jxutils/jsonerr用于JSON描述的错误

+ ErrCodeJsonFormat
- ActStoreSkuParam2Model中判断活动信息是否有交叉,并返回交叉错误信息
This commit is contained in:
gazebo
2019-07-09 09:09:13 +08:00
parent d18a9bc81a
commit 050da79527
4 changed files with 36 additions and 6 deletions

View File

@@ -10,6 +10,8 @@ const (
ErrCodeTokenIsInvalid = "-2"
ErrCodeUserNotExist = "-3"
ErrCodeUserAlreadyExist = "-4"
ErrCodeJsonFormat = "-10" // 这个错误号表示description中的是一个json对象不是错误文本
)
var (