1
This commit is contained in:
parent
b2ce076058
commit
2102c549f4
@ -2051,12 +2051,14 @@ DROP TABLE IF EXISTS `t_circuit_battle`;
|
||||
CREATE TABLE `t_circuit_battle` (
|
||||
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
||||
`account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id(channel + "_" + gameid + "_" + openid)',
|
||||
`is_android` int(11) NOT NULL DEFAULT '0' COMMENT 'is android',
|
||||
`season` int(11) NOT NULL DEFAULT '0' COMMENT '赛季',
|
||||
`cumulative_score` 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`),
|
||||
KEY `idx_account_season` (`account_id`, `season`)
|
||||
KEY `idx_account_season` (`account_id`, `season`),
|
||||
KEY `idx_is_android` (`is_android`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
@ -2071,13 +2073,15 @@ DROP TABLE IF EXISTS `t_circuit_battle_phase`;
|
||||
CREATE TABLE `t_circuit_battle_phase` (
|
||||
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
||||
`account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id(channel + "_" + gameid + "_" + openid)',
|
||||
`is_android` int(11) NOT NULL DEFAULT '0' COMMENT 'is android',
|
||||
`season` int(11) NOT NULL DEFAULT '0' COMMENT '赛季',
|
||||
`phase` int(11) NOT NULL DEFAULT '0' COMMENT '阶段',
|
||||
`cumulative_score` 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`),
|
||||
KEY `idx_account_season_phase` (`account_id`, `season`, `phase`)
|
||||
KEY `idx_account_season_phase` (`account_id`, `season`, `phase`),
|
||||
KEY `idx_is_android` (`is_android`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
|
@ -12,6 +12,7 @@ class CircuitRankingService extends BaseService {
|
||||
if (count($rows) < 100) {
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static function fillRanking($currentCircuitMeta)
|
||||
|
Loading…
x
Reference in New Issue
Block a user