Merge branch 'james' of git.kingsome.cn:server/game2006api into james
This commit is contained in:
commit
ffe9a445da
36
doc/BlockChain.py
Normal file
36
doc/BlockChain.py
Normal 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(),
|
||||
]
|
||||
},
|
||||
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user