This commit is contained in:
aozhiwei 2024-10-09 14:53:45 +08:00
parent be803d23e5
commit d909dcfb37
2 changed files with 3 additions and 1 deletions

View File

@ -1940,6 +1940,7 @@ CREATE TABLE `t_box_alloc` (
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
`room_uuid` varchar(60) NOT NULL COMMENT '公告标题',
`account_id` varchar(60) CHARACTER SET utf8 NOT NULL DEFAULT '' COMMENT 'account_id',
`phase` int(11) NOT NULL DEFAULT '0' COMMENT '阶段',
`used_num` int(11) NOT NULL DEFAULT '0' COMMENT '已消耗的箱子数',
`box_num` int(11) NOT NULL DEFAULT '0' COMMENT '分配的箱子数',
`return_account_id` varchar(60) CHARACTER SET utf8 NOT NULL DEFAULT '' COMMENT 'return_account_id',
@ -2116,4 +2117,4 @@ CREATE TABLE `t_user_invitation_code_bind` (
PRIMARY KEY (`idx`),
UNIQUE KEY `account_id` (`account_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40101 SET character_set_client = @saved_cs_client */;

View File

@ -113,6 +113,7 @@ class BattleBoxService {
array(
'room_uuid' => $roomUuid,
'account_id' => myself()->_getAccountId(),
'phase' => $phase,
'box_num' => $boxNum,
'createtime' => myself()->_getNowTime(),
'modifytime' => myself()->_getNowTime(),