package domain import "time" const ( DefaultPageSize = 100 DefaultPageIndex = 1 ) const InitAutoId = 10000000 const DefaultReferralCodeLen = 8 var ConvertTable = [...]string{ "O", "D", "W", "X", "Y", "G", "B", "C", "H", "E", "F", "A", "Q", "I", "J", "L", "M", "N", "Z", "K", "P", "V", "R", "S", "T", } type AccountType int8 func (a AccountType) ToInt64() int64 { return int64(a) } const ( AccountTypePhone AccountType = 1 AccountTypeMail AccountType = 2 AccountTypeAccount AccountType = 3 ) const ( DefaultSingleFlyCacheTimeout = 24 * time.Hour DefaultFindDataNotFoundTimeout = 30 * time.Second ) const ( AppName = "app-cloudep-member-service" )