This commit is contained in:
aozhiwei 2022-11-07 12:38:49 +08:00
parent 886017a96c
commit 117da727f6
2 changed files with 24 additions and 4 deletions

View File

@ -108,10 +108,10 @@ class BlockChain(object):
]
},
{
'name': 'pluginChip',
'desc': '装上芯片',
'name': 'pluginChipOne',
'desc': '装上一个芯片',
'group': 'BlockChain',
'url': 'webapp/index.php?c=BlockChain&a=pluginChip',
'url': 'webapp/index.php?c=BlockChain&a=pluginChipOne',
'params': [
['type', 0, '1英雄 2枪械'],
['token_id', '', 'token_id'],
@ -123,6 +123,21 @@ class BlockChain(object):
['!params', [''], '合约参数列表'],
]
},
{
'name': 'pluginChipBatch',
'desc': '批量装上芯片',
'group': 'BlockChain',
'url': 'webapp/index.php?c=BlockChain&a=pluginChipBatch',
'params': [
['type', 0, '1英雄 2枪械'],
['token_id', '', 'token_id'],
],
'response': [
_common.RspHead(),
['trans_id', '', '事务id'],
['!params', [''], '合约参数列表'],
]
},
{
'name': 'unplugChip',
'desc': '卸下芯片',

View File

@ -401,7 +401,12 @@ class BlockChainController extends BaseAuthedController {
}
}
public function pluginChip()
public function pluginChipOne()
{
}
public function pluginChipBatch()
{
}