This commit is contained in:
aozhiwei 2024-10-29 16:11:34 +08:00
parent 5f726add19
commit 79aae72bf9
2 changed files with 37 additions and 2 deletions

View File

@ -35,7 +35,7 @@ class AAWheel(object):
'response': [ 'response': [
_common.RspHead(), _common.RspHead(),
['award', _common.WheelAward(), '奖励信息'], ['award', _common.WheelAward(), '奖励信息'],
['side_effect', _common.WheelAward(), '附加效应'], ['side_effect', _common.WheelSideEffect(), '附加效应'],
] ]
}, },
{ {
@ -49,6 +49,7 @@ class AAWheel(object):
], ],
'response': [ 'response': [
_common.RspHead(), _common.RspHead(),
['!data', [_common.WheelFriend()], '好友列表'],
] ]
}, },
{ {
@ -88,6 +89,7 @@ class AAWheel(object):
], ],
'response': [ 'response': [
_common.RspHead(), _common.RspHead(),
['!data', [_common.WheelMission()], '任务列表'],
] ]
}, },
{ {
@ -101,6 +103,7 @@ class AAWheel(object):
], ],
'response': [ 'response': [
_common.RspHead(), _common.RspHead(),
['!data', [_common.WheelChip()], '芯片列表'],
] ]
}, },
{ {
@ -114,6 +117,7 @@ class AAWheel(object):
], ],
'response': [ 'response': [
_common.RspHead(), _common.RspHead(),
['!data', [_common.WheelItem()], '道具列表'],
] ]
}, },
{ {
@ -127,6 +131,7 @@ class AAWheel(object):
], ],
'response': [ 'response': [
_common.RspHead(), _common.RspHead(),
['!data', [_common.WheelGoods()], '商品列表'],
] ]
}, },
] ]

View File

@ -1981,9 +1981,39 @@ class WheelAward(object):
['!items', [WheelAwardItem()], '奖励物品列表'], ['!items', [WheelAwardItem()], '奖励物品列表'],
] ]
class SideEffect(object): class WheelSideEffect(object):
def __init__(self): def __init__(self):
self.fields = [ self.fields = [
['user_info', WheelUser(), '用户信息变更(用来更新本地客户端字段(有则更新无则不变))'], ['user_info', WheelUser(), '用户信息变更(用来更新本地客户端字段(有则更新无则不变))'],
] ]
class WheelFriend(object):
def __init__(self):
self.fields = [
]
class WheelMission(object):
def __init__(self):
self.fields = [
]
class WheelChip(object):
def __init__(self):
self.fields = [
]
class WheelItem(object):
def __init__(self):
self.fields = [
]
class WheelGoods(object):
def __init__(self):
self.fields = [
]