Merge branch 'hjb' of git.kingsome.cn:server/game2006api into hjb

This commit is contained in:
hujiabin 2024-01-17 16:41:45 +08:00
commit f8a7a463ad
2 changed files with 1734 additions and 1697 deletions

View File

@ -1111,7 +1111,8 @@ class TeamReportMember(object):
['hero_id', 0, '英雄id'],
['hero_uniid', 0, '英雄uniid'],
['hero_quality', 0, '英雄quality'],
['game_time', 0, '游戏时间'],
['game_time', 0, '游戏截止时间(utc时间)'],
['game_duration', 0, '游戏时长(单位秒)'],
['alive_time', 0, '存活时间'],
['ranked', 0, '排名'],
['kills', 0, '击杀数'],

View File

@ -250,6 +250,7 @@ CREATE TABLE `t_chip` (
`active_token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'active_token_id',
`active_count` int(11) NOT NULL DEFAULT '0' COMMENT 'active_count',
`activate` int(11) NOT NULL DEFAULT '0' COMMENT '是否激活 1已初始激活',
`quality` int(11) NOT NULL DEFAULT '0' COMMENT '品阶',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`),
@ -1584,7 +1585,7 @@ CREATE TABLE `t_power_exchange_record` (
-- Table structure for table `t_computing_power_period`
--
DROP TABLE IF EXISTS `t_computing_power_period`;
DROP TABLE IF EXISTS `t_hash_rate_reward`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_hash_rate_reward` (
@ -1694,3 +1695,38 @@ CREATE TABLE `t_avatar` (
UNIQUE KEY `hero_idx_type` (`hero_idx`, `item_type`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `t_hash_rate`
--
DROP TABLE IF EXISTS `t_hash_rate`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_hash_rate` (
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
`account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id(channel + "_" + gameid + "_" + openid)',
`task_id` int(11) NOT NULL COMMENT '配置表id',
`period` int(11) NOT NULL DEFAULT '0' COMMENT '算力期数',
`reward` int(64) NOT NULL DEFAULT '0' COMMENT '奖励',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`),
UNIQUE KEY `account_task_id` (`account_id`, `task_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
--
-- Table structure for table `t_hash_rate_battle_data`
--
DROP TABLE IF EXISTS `t_hash_rate_battle_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_hash_rate_battle_data` (
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
`account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id(channel + "_" + gameid + "_" + openid)',
`battle_data` mediumblob COMMENT 'battle_data',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
PRIMARY KEY (`idx`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;