package constant

const (
	ACCOUNT_DB  = "accountdb"
	BCNFT_DB    = "bcnftdb"
	GAME_DB     = "gamedb"
	CONF_DB     = "confdb"
	PAY_DB      = "paydb"
	LOGIN_REDIS = "loginredis"
)

const (
	APP_MODULE_IDX = iota
	ROUTER_MGR_MODULE_IDX
	TASK_MGR_MODULE_IDX
	CACHE_MGR_MODULE_IDX
	SERVICE_MGR_MODULE_IDX
	MODEL_MGR_MODULE_IDX
	MAX_MODULE_IDX
)

const (
	SHOPCART_MAX_GOODS_NUM = 20
)

const (
	RECHARGE_CURRENCY_MAX_EXCHANGE_RAET = 100
	RECHARGE_CURRENCY_MAX_DECIMAL       = 6
	RECHARGE_CURRENCY_MAX_BUY_NUM       = 9999
	BNB_RECHARGE_CURRENCY_MAX_DECIMAL   = 18
)

const (
	GAME_SWITCH_HERO_MINT = "heroMint"
)

const (
	JWT_METAMAST = 1
	JWT_PASSPORT = 2
)

const (
	WX_ERRCODE_OK                  = 0
	WX_ERRCODE_BUSY                = -1
	WX_ERRCODE_UNAUTH_ACCESSTOKEN  = 40014
	WX_ERRCODE_MISSING_ACCESSTOKEN = 41001
	WX_ERRCODE_EXPIRE_ACCESSTOKEN  = 42001
	WX_ERRCODE_SIGERR              = 90010
	WX_ERRCODE_PAYSIGERR           = 90011
	WX_ERRCODE_SAMEBILLNO          = 90012
	WX_ERRCODE_NOENOUGH            = 90013
	WX_ERRCODE_SESSIONERR          = 90016
	WX_ERRCODE_PARAMERR            = 90018
)

const (
	GLOBAL_SALT = "f3a6a9a5-217a-4079-ab99-b5d69b8212be"
	NOFITY_GAMESERVER_SALT = "NrN3zkVOzXF1vRzUc9eJM9ZKRO5eLooD"
)

const (
	WX_AESKEY_SIZE             = 32
	WX_ENCODING_KEY_SIZE       = 43
	WX_RANDENCRYPT_STRLEN      = 16
	WX_KMSG_LEN                = 4
)
