game2006api/doc/ServerSwitch.py
aozhiwei 4c6e1fa3d4 1
2022-06-07 18:50:17 +08:00

23 lines
613 B
Python

# -*- coding: utf-8 -*-
import _common
class ServerSwitch(object):
def __init__(self):
self.apis = [
{
'name': 'getSwitch',
'desc': '获取服务器功能开关',
'group': 'ServerSwitch',
'url': 'webapp/index.php?c=&a=ServerSwitch=getSwitch',
'params': [
_common.ReqHead(),
],
'response': [
_common.RspHead(),
['!open_list', [0], '开放的功能列表 1:悬赏任务'],
]
},
]