game2006api/doc/ServerSwitch.py
aozhiwei 59ad6ba2e9 1
2023-08-09 14:27:54 +08:00

23 lines
669 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -*- 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:悬赏任务 3禁用商城、market所有和这次修改相关的'],
]
},
]