- TrimBlanChar to TrimBlankChar
- error_code.go
This commit is contained in:
15
business/model/error_code.go
Normal file
15
business/model/error_code.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
import "errors"
|
||||
|
||||
const (
|
||||
ErrorCodeIgnore = "ignore"
|
||||
|
||||
ErrCodeSuccess = "0"
|
||||
ErrCodeGeneralFailed = "-1"
|
||||
ErrCodeTokenIsInvalid = "-2"
|
||||
)
|
||||
|
||||
var (
|
||||
ErrTokenIsInvalid = errors.New("token过期或无效,请重新登录")
|
||||
)
|
||||
Reference in New Issue
Block a user