1
This commit is contained in:
parent
1b38768d80
commit
3b6d00e639
13
doc/User.py
13
doc/User.py
@ -69,6 +69,19 @@ class User(object):
|
|||||||
['info',_common.UserInfo(), '用户信息'],
|
['info',_common.UserInfo(), '用户信息'],
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'name': 'getBattleInfo',
|
||||||
|
'desc': '获取用户战斗信息',
|
||||||
|
'group': 'User',
|
||||||
|
'url': 'webapp/index.php?c=User&a=getBattleInfo',
|
||||||
|
'params': [
|
||||||
|
_common.ReqHead(),
|
||||||
|
],
|
||||||
|
'response': [
|
||||||
|
_common.RspHead(),
|
||||||
|
['info',_common.UserBattleInfo(), '用户战斗信息'],
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'name': 'query',
|
'name': 'query',
|
||||||
'desc': '通过名字查询用户信息(精准查询)',
|
'desc': '通过名字查询用户信息(精准查询)',
|
||||||
|
@ -162,6 +162,14 @@ class UserInfo(object):
|
|||||||
['!honor_info', [HonorInfo()], '荣誉信息'],
|
['!honor_info', [HonorInfo()], '荣誉信息'],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
class UserBattleInfo(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.fields = [
|
||||||
|
['user_info', [UserInfo()], '用户信息'],
|
||||||
|
['hero_info', [HeroInfo()], '上阵英雄信息'],
|
||||||
|
]
|
||||||
|
|
||||||
class HonorInfo(object):
|
class HonorInfo(object):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user