Skip to content

Commit

Permalink
💬 (微信转账): 更新转账详情描述,增加“详情”字样
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkioTomas committed Dec 29, 2024
1 parent f47c5f9 commit 172aeab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/rule/com.tencent.mm/app/微信转账/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ function analyzeFromDetail (data) {
if (data.is_payer) {
billType = BillType.Expend;
payTools = data.cachedPayTools;
channel = '微信[转账付款]';
channel = '微信[转账付款详情]';
t = formatDate(data.desc_item_list[0].value, 'Y年M月D日 h:i:s');
} else {
payTools = data.status_desc.replace('你已收款,资金已存入', '');
channel = '微信[转账收款]';
channel = '微信[转账收款详情]';
t = formatDate(data.desc_item_list[1].value, 'Y年M月D日 h:i:s');
}

Expand Down
4 changes: 2 additions & 2 deletions src/rule/com.tencent.mm/app/微信转账/main.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test('微信转账收款', () =>
'accountNameTo': '',
'currency': 'CNY',
'time': formatDate('2024年04月23日 11:50:05', 'Y年M月D日 h:i:s'),
'channel': '微信[转账收款]'
'channel': '微信[转账收款详情]'
},
{
'type': 'Income',
Expand All @@ -28,7 +28,7 @@ test('微信转账收款', () =>
'accountNameTo': '',
'currency': 'CNY',
'time': formatDate('2024年05月13日 08:16:33', 'Y年M月D日 h:i:s'),
'channel': '微信[转账收款]'
'channel': '微信[转账收款详情]'
},
{
'type': 'Income',
Expand Down

0 comments on commit 172aeab

Please sign in to comment.