xlegudata_consumer/handler/handle_paylist.py
2020-11-13 15:27:13 +08:00

16 lines
396 B
Python

from .handler import Handler
class HandlerPaylist(Handler):
@classmethod
def get_coll(cls, *args, **kwargs):
return cls.g_mdb['paylist']
def get_where(self):
props = self._data['props']
where = {
'_game_role_id': props.get('_game_role_id'), # 游戏角色id
'orderid': props.get('orderid'), # 订单
}
return where