game2006api/doc/Match.py
aozhiwei fc404c7e4d 1
2023-12-25 19:27:14 +08:00

37 lines
1.0 KiB
Python

# -*- coding: utf-8 -*-
import _common
class Match(object):
def __init__(self):
self.apis = [
{
'name': 'getMatchInfo',
'desc': '获取匹配信息',
'group': 'Match',
'url': 'webapp/index.php?c=Match&a=getMatchInfo',
'params': [
_common.ReqHead(),
['team_uuid', '', '队伍唯一id'],
],
'response': [
_common.RspHead(),
['info', _common.MatchInfo(), '队伍唯一id'],
]
},
{
'name': 'cancel',
'desc': '取消匹配',
'group': 'Match',
'url': 'webapp/index.php?c=Match&a=cancel',
'params': [
_common.ReqHead(),
['team_uuid', '', '队伍唯一id'],
],
'response': [
_common.RspHead(),
]
}
]