Commit d1fe6ae0 authored by xianyang's avatar xianyang

优化背包账户

parent 0fbe67db
......@@ -709,7 +709,7 @@ class SpecificAccountQuery(object):
for i in res:
i['reference_name'] = TYPE_NAME[i['reference_type']] if TYPE_NAME.get(i['reference_type']) else i[
'reference_type']
if self.unique_tag in ['guild_account', 'knapsack_account']:
if i.get('amount_type'):
if i['amount_type'] == 'consumable':
i['amount_type'] = '可消费账户'
elif i['amount_type'] == 'withdrawable':
......
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