From 3e06d5286feb36c1870aa2550fa80f44c7026780 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 23 Jan 2024 15:48:58 +0800 Subject: [PATCH] 1 --- doc/Box.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 doc/Box.py 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()], '物品列表'] + ] + }, + ]