enums_error.go 631 字节
package domain

const (
	InvalidAccessToken  = 901
	InvalidRefreshToken = 902
	InvalidSign         = 903
	InvalidClientId     = 904
	InvalidUUid         = 905
	InvalidApp          = 906
)

var CodeMsg = map[int]string{
	InvalidAccessToken:  "access token 过期或无效,需刷新令牌",
	InvalidRefreshToken: "过期或失效,需重新进行登录认证操作", //refresh token
	InvalidSign:         "sign 签名无效,需重新登录手机 APP",
	InvalidClientId:     "client id 或 client secret 无效,需强制更新手机 APP",
	InvalidUUid:         "uuid 无效",
	InvalidApp:          "AppKey或者Token无效",
}