game2005api/doc/RedDot.py
aozhiwei 79e382016f 1
2021-12-07 19:14:58 +08:00

24 lines
793 B
Python

# -*- coding: utf-8 -*-
import _common
class RedDot(object):
def __init__(self):
self.apis = [
{
'name': 'redDotList',
'desc': '获取红点列表',
'group': 'RedDot',
'url': 'webapp/index.php?c=RedDot&a=redDotList',
'params': [
_common.ReqHead(),
['types', '', '红点类型(!!!注意由于红点的计算量较大,最好并发分批取红点状态)","分割 1:赛季手册 2:赛季 3:战队 4:商店 5:背包 6:科研 7:任务 8:活动']
],
'response': [
_common.RspHead(),
['!reddot_list', [_common.RedDot()], '红点列表']
]
},
]