game2006api/doc/Circuit.py
hujiabin 3ddb202c62 1
2024-09-18 16:41:00 +08:00

36 lines
865 B
Python

# -*- coding: utf-8 -*-
import _common
class Circuit(object):
def __init__(self):
self.apis = [
{
'name': 'getCurrentStage',
'desc': '巡回赛当前阶段',
'group': 'Circuit',
'url': 'webapp/index.php?c=Circuit&a=getCurrentStage',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
['!info', [stageInfo()], '巡回赛当前阶段信息'],
]
}
]
class stageInfo(object):
def __init__(self):
self.fields = [
['start_time', 0, '开始时间'],
['end_time', 0, '结束时间'],
['cec_pool', 0, '当前阶段奖池'],
]