Merge branch 'james' of git.kingsome.cn:server/game2006api into james

This commit is contained in:
hujiabin 2022-10-31 18:50:24 +08:00
commit ffe9a445da

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(),
]
},
]