game2006api/doc/Chip.py
2022-08-18 16:31:33 +08:00

25 lines
632 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -*- coding: utf-8 -*-
import _common
class Chip(object):
def __init__(self):
self.apis = [
{
'name': 'chipList',
'desc': '获取芯片列表',
'group': 'Bag',
'url': 'webapp/index.php?c=Chip&a=chipList',
'params': [
_common.ReqHead(),
['type', '', '芯片类型1 角色2 枪械'],
],
'response': [
_common.RspHead(),
['!data', [_common.Chip()], '芯片列表']
]
},
]