add doc 9

This commit is contained in:
hujiabin 2022-08-18 19:21:00 +08:00
parent 3fa74d8690
commit 01acb062ca

View File

@ -89,7 +89,47 @@ class Chip(object):
_common.RspHead(),
['!data', [_common.Hero()], '英雄加成信息']
]
}
} ,{
'name': 'aKeyInlayChip',
'desc': '芯片一键镶嵌',
'group': 'Chip',
'url': 'webapp/index.php?c=Chip&a=aKeyInlayChip',
'params': [
_common.ReqHead(),
['hero_id', '', '英雄idx'],
],
'response': [
_common.RspHead(),
['!data', [_common.Hero()], '英雄加成信息']
]
},{
'name': 'selectChip',
'desc': '选择合成材料',
'group': 'Chip',
'url': 'webapp/index.php?c=Chip&a=selectChip',
'params': [
_common.ReqHead(),
['token_id', '', '芯片token id参数 例参数1源芯片 参数2材料芯片'],
],
'response': [
_common.RspHead(),
['data', '', '材料芯片的累计价值']
]
},{
'name': 'syntheticChip',
'desc': '芯片合成',
'group': 'Chip',
'url': 'webapp/index.php?c=Chip&a=syntheticChip',
'params': [
_common.ReqHead(),
['token_id_main', '', '源芯片token id'],
['token_id_param', '', '材料芯片token id 例参数1 参数2 参数3'],
],
'response': [
_common.RspHead(),
['!data', [_common.Chip()], '芯片信息']
]
},
]