1
This commit is contained in:
parent
02ae57c6de
commit
b9cd2b292d
@ -168,6 +168,7 @@ CREATE TABLE `t_hero` (
|
|||||||
`labour` int(11) NOT NULL DEFAULT '0' COMMENT '劳力值',
|
`labour` int(11) NOT NULL DEFAULT '0' COMMENT '劳力值',
|
||||||
`active_token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'active_token_id',
|
`active_token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'active_token_id',
|
||||||
`active_count` int(11) NOT NULL DEFAULT '0' COMMENT 'active_count',
|
`active_count` int(11) NOT NULL DEFAULT '0' COMMENT 'active_count',
|
||||||
|
`activate` int(11) NOT NULL DEFAULT '0' COMMENT '是否激活 1:已初始激活',
|
||||||
PRIMARY KEY (`idx`),
|
PRIMARY KEY (`idx`),
|
||||||
UNIQUE KEY `token_id` (`token_id`),
|
UNIQUE KEY `token_id` (`token_id`),
|
||||||
KEY `account_id` (`account_id`)
|
KEY `account_id` (`account_id`)
|
||||||
@ -295,6 +296,7 @@ CREATE TABLE `t_gun` (
|
|||||||
`labour` int(11) NOT NULL DEFAULT '0' COMMENT '劳力值',
|
`labour` int(11) NOT NULL DEFAULT '0' COMMENT '劳力值',
|
||||||
`active_token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'active_token_id',
|
`active_token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'active_token_id',
|
||||||
`active_count` int(11) NOT NULL DEFAULT '0' COMMENT 'active_count',
|
`active_count` int(11) NOT NULL DEFAULT '0' COMMENT 'active_count',
|
||||||
|
`activate` int(11) NOT NULL DEFAULT '0' COMMENT '是否激活 1:已初始激活',
|
||||||
PRIMARY KEY (`idx`),
|
PRIMARY KEY (`idx`),
|
||||||
UNIQUE KEY `token_id` (`token_id`),
|
UNIQUE KEY `token_id` (`token_id`),
|
||||||
KEY `account_id` (`account_id`)
|
KEY `account_id` (`account_id`)
|
||||||
|
@ -508,7 +508,7 @@ DROP TABLE IF EXISTS `t_chip_plugin`;
|
|||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `t_chip_plugin` (
|
CREATE TABLE `t_chip_plugin` (
|
||||||
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
||||||
`tokenid` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id',
|
`token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id',
|
||||||
`chip1` varchar(60) NOT NULL DEFAULT '' COMMENT 'chip1',
|
`chip1` varchar(60) NOT NULL DEFAULT '' COMMENT 'chip1',
|
||||||
`chip2` varchar(60) NOT NULL DEFAULT '' COMMENT 'chip2',
|
`chip2` varchar(60) NOT NULL DEFAULT '' COMMENT 'chip2',
|
||||||
`chip3` varchar(60) NOT NULL DEFAULT '' COMMENT 'chip3',
|
`chip3` varchar(60) NOT NULL DEFAULT '' COMMENT 'chip3',
|
||||||
@ -518,7 +518,7 @@ CREATE TABLE `t_chip_plugin` (
|
|||||||
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
||||||
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
||||||
PRIMARY KEY (`idx`),
|
PRIMARY KEY (`idx`),
|
||||||
UNIQUE KEY `tokenid` (`tokenid`),
|
UNIQUE KEY `token_id` (`token_id`),
|
||||||
KEY `chip1` (`chip1`),
|
KEY `chip1` (`chip1`),
|
||||||
KEY `chip2` (`chip2`),
|
KEY `chip2` (`chip2`),
|
||||||
KEY `chip3` (`chip3`),
|
KEY `chip3` (`chip3`),
|
||||||
|
@ -244,13 +244,13 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
'account_id' => myself()->_getAccountId(),
|
'account_id' => myself()->_getAccountId(),
|
||||||
'session_id' => myself()->_getSessionId(),
|
'session_id' => myself()->_getSessionId(),
|
||||||
'account' => myself()->_getOpenId(),
|
'account' => myself()->_getOpenId(),
|
||||||
'token_id' => $tokenId,
|
'token_id' => $tokenId1,
|
||||||
'token_ids' => $tokenIds
|
'token_ids' => implode('|', $tokenIds)
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'action' => Transaction::EVOLVE_CHIP_ACTION_TYPE,
|
'action' => Transaction::EVOLVE_CHIP_ACTION_TYPE,
|
||||||
'tokenId' => $tokenId1,
|
'tokenId' => $tokenId1,
|
||||||
'itemType' => 0,
|
'tokenType' => 0,
|
||||||
'itemUniId' => $nftDb['chip_uniid'],
|
'itemUniId' => $nftDb['chip_uniid'],
|
||||||
'itemId' => $nftDb['item_id']
|
'itemId' => $nftDb['item_id']
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user