Files
jx-callback/business/model/error_code.go
2021-06-25 15:00:20 +08:00

21 lines
409 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package model
import "errors"
const (
ErrorCodeIgnore = "ignore"
ErrCodeSuccess = "0"
ErrCodeGeneralFailed = "-1"
ErrCodeTokenIsInvalid = "-2"
ErrCodeJsonSyncErr = "-105"
ErrCodeOpenAPIParamErrMethod = "1000" //参数错误method
ErrCodeOpenAPIParamErrTimeStamp = "1001" //参数错误timestamp
)
var (
ErrTokenIsInvalid = errors.New("token过期或无效请重新登录")
)