Commit 0fbe67db authored by xianyang's avatar xianyang

优化背包账户

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