diff --git a/doc/Box.py b/doc/Box.py new file mode 100644 index 00000000..a6083557 --- /dev/null +++ b/doc/Box.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- + +import _common + +class Box(object): + + def __init__(self): + self.apis = [ + { + 'name': 'box', + 'desc': '请求宝箱掉落信息', + 'group': 'Box', + 'url': 'webapp/index.php?c=Box&a=requestReward', + 'params': [ + _common.ReqHead(), + ['payload', '', '透传数据'] + ], + 'response': [ + _common.RspHead(), + ['!item_list', [_common.AwardItem()], '物品列表'] + ] + }, + ]