1
This commit is contained in:
parent
b9cd2b292d
commit
886017a96c
@ -106,5 +106,37 @@ class BlockChain(object):
|
||||
['trans_id', '', '事务id'],
|
||||
['!params', [''], '合约参数列表'],
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'pluginChip',
|
||||
'desc': '装上芯片',
|
||||
'group': 'BlockChain',
|
||||
'url': 'webapp/index.php?c=BlockChain&a=pluginChip',
|
||||
'params': [
|
||||
['type', 0, '1:英雄 2:枪械'],
|
||||
['token_id', '', 'token_id'],
|
||||
['chip_id', '', '需要装上的chip token_ids多个用|分割'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['trans_id', '', '事务id'],
|
||||
['!params', [''], '合约参数列表'],
|
||||
]
|
||||
},
|
||||
{
|
||||
'name': 'unplugChip',
|
||||
'desc': '卸下芯片',
|
||||
'group': 'BlockChain',
|
||||
'url': 'webapp/index.php?c=BlockChain&a=unplugChip',
|
||||
'params': [
|
||||
['type', 0, '1:英雄 2:枪械'],
|
||||
['token_id', '', 'token_id'],
|
||||
['chip_ids', '', '需要卸下的chip token_ids多个用|分割'],
|
||||
],
|
||||
'response': [
|
||||
_common.RspHead(),
|
||||
['trans_id', '', '事务id'],
|
||||
['!params', [''], '合约参数列表'],
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -401,6 +401,16 @@ class BlockChainController extends BaseAuthedController {
|
||||
}
|
||||
}
|
||||
|
||||
public function pluginChip()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function unplugChip()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private function internalActivate721Nft($tokenId, $tokenType, $itemUniId, $itemId)
|
||||
{
|
||||
$params = array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user