- TrimBlanChar to TrimBlankChar

- error_code.go
This commit is contained in:
gazebo
2018-11-02 14:11:32 +08:00
parent addb300b1a
commit 386ac29ad7
10 changed files with 31 additions and 14 deletions

View File

@@ -0,0 +1,15 @@
package model
import "errors"
const (
ErrorCodeIgnore = "ignore"
ErrCodeSuccess = "0"
ErrCodeGeneralFailed = "-1"
ErrCodeTokenIsInvalid = "-2"
)
var (
ErrTokenIsInvalid = errors.New("token过期或无效请重新登录")
)