This commit is contained in:
aozhiwei 2022-10-31 17:18:03 +08:00
parent 6ef16b7a76
commit 5389611997

36
doc/BlockChain.py Normal file
View File

@ -0,0 +1,36 @@
# -*- coding: utf-8 -*-
import _common
class BlockChain(object):
def __init__(self):
self.apis = [
{
'name': 'activeNft',
'desc': '激活nft',
'group': 'BlockChain',
'url': 'webapp/index.php?c=ActiveNft&a=activeNft',
'params': [
['type', 0, '1英雄 2枪械'],
['uniid', 0, '唯一id'],
],
'response': [
_common.RspHead(),
]
},
{
'name': 'reportActiveResult',
'desc': '上报激活结果',
'group': 'BlockChain',
'url': 'webapp/index.php?c=ActiveNft&a=reportActiveResult',
'params': [
['type', 0, '1英雄 2枪械'],
['uniid', 0, '唯一id'],
],
'response': [
_common.RspHead(),
]
},
]