36 lines
1.0 KiB
Python
36 lines
1.0 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
import _common
|
|
|
|
class Guide(object):
|
|
|
|
def __init__(self):
|
|
self.apis = [
|
|
{
|
|
'name': 'getData',
|
|
'desc': '获取引导数据',
|
|
'group': 'Guide',
|
|
'url': 'webapp/index.php?c=Guide&a=getData',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
['data', '', '引导数据(支持客户端自定义)']
|
|
]
|
|
},
|
|
{
|
|
'name': 'setData',
|
|
'desc': '设置引导数据(客户端需要自己控制数据的大小,不能太大)',
|
|
'group': 'Guide',
|
|
'url': 'webapp/index.php?c=Guide&a=setData',
|
|
'params': [
|
|
_common.ReqHead(),
|
|
['data', '', '引导数据'],
|
|
],
|
|
'response': [
|
|
_common.RspHead(),
|
|
]
|
|
},
|
|
]
|