code.go 809 Bytes
package base

/*
返回码
*/

const (
	// Success 请求成功
	Success = 1000
	// ServerError 服务器错误
	ServerError = 1100
	// Warning 警告
	Warning = 1200

	// FailedToObtainVerificationCode 验证码获取失败
	//FailedToObtainVerificationCode = 1001
	// PleaseCheckIfThePhoneNumberIsEnteredCorrectly 请检查电话号码是否输入正确
	//PleaseCheckIfThePhoneNumberIsEnteredCorrectly = 1002
	// VerificationCodeError 验证码错误
	//VerificationCodeError = 1003
	// AuthorizationEmpty token为空
	AuthorizationEmpty = 1004
	// ThisAccountDoesNotHavePermission  此账号没有权限
	//ThisAccountDoesNotHavePermission = 1005
	// ParameterValidationFailed 参数效验失败
	//ParameterValidationFailed = 1006
	// 此国家暂不支持
	//NotCurrentlySupportedInThisCountry = 1007
)