package constant const ( ClearLocalCacheSignalEtcdKey = "clear_local_cache" ClearRedisCacheSignalEtcdKey = "clear_redis_cache" ) // 字典表中datatype的定义值 const ( DICT_DATATYPE_GAMERANK = "game_rank" ) const RedisPrefixGame = "GameMap" type Provider string const ( ProviderUnknown Provider = "unknown" ProviderNormal Provider = "normal" ProviderGoogle Provider = "google" ProviderApple Provider = "apple" ProviderMeta Provider = "meta" ProviderGithub Provider = "github" ) const ( UpgradeApp = 1 UpgradeRes = 2 UpgradeIgnore = 0 ) const ( // 10000 ProviderCheckCode = 10000 //检测三方账号登录中状态 ) // 短剧状态常量定义 const ( ShortDramaStatusOffline = 1 // 下架 ShortDramaStatusUpcoming = 20 // 处理中 ShortDramaStatusWait = 30 // 待上架 ShortDramaStatusOnline = 66 // 正常 ) // 剧集类型常量定义 const ( ShortDramaEpisodeTypeMain = 20 //正片 ShortDramaEpisodeTypeTrailer = 1 //预告片 )