Commit 5e66f7b9 authored by xupeng's avatar xupeng

Merge remote-tracking branch 'origin/development' into development

parents 6102a9fe 6aaaf2a5
...@@ -274,26 +274,13 @@ class ReferenceTypeClassification(): ...@@ -274,26 +274,13 @@ class ReferenceTypeClassification():
op['money'] = round(float(op['amount']), 2) op['money'] = round(float(op['amount']), 2)
if op.get('uuid') in guild_data: if op.get('uuid') in guild_data:
op['nickname'] = '公会' op['nickname'] = '公会'
elif op.get('uuid') in anchor_data:
if op.get('reference_type') == 'studioGift':
if op.get('amount_type') == 'backpack':
op['nickname'] = '背包送出'
elif op.get('amount_type') == 'consumable':
op['nickname'] = '钻石送出'
else:
op['nickname'] = '主播'
else:
op['nickname'] = '主播'
elif account_dict.get(op['uuid']): elif account_dict.get(op['uuid']):
op['nickname'] = account_dict.get(op['uuid']) op['nickname'] = account_dict.get(op['uuid'])
else: else:
if op.get('reference_type') == 'studioGift': if op.get('amount_type') == 'backpack':
if op.get('amount_type') == 'backpack': op['nickname'] = '背包账户'
op['nickname'] = '背包送出' elif op.get('amount_type') == 'consumable':
elif op.get('amount_type') == 'consumable': op['nickname'] = '钻石账户'
op['nickname'] = '钻石送出'
else:
op['nickname'] = '用户'
else: else:
op['nickname'] = '用户' op['nickname'] = '用户'
if op.get('type') == 0: if op.get('type') == 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment