Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微信导出提示 Failed to translate 需要新增 分分捐 交易类型 #138

Open
qninth opened this issue Feb 3, 2025 · 0 comments
Open
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@qninth
Copy link

qninth commented Feb 3, 2025

Describe the bug
[Provider-Wechat] 2025/02/03 16:25:38 Failed to translate: Failed to translate bill: line 663: Failed to get the tx type 分分捐:

代码中缺少这个交易类型
pkg/provider/wechat/types.go

To Reproduce
Steps to reproduce the behavior:

原始文件

微信支付账单明细,,,,,,,,
微信昵称:[xx],,,,,,,,
起始时间:[xxxx-xx-xx 00:00:00] 终止时间:[xxxx-xx-xx23:59:59],,,,,,,,
导出类型:[全部],,,,,,,,
导出时间:[xxxx-xx-xx13:25:33],,,,,,,,
,,,,,,,,
共xxx笔记录,,,,,,,,
收入:xx笔 1314.00元,,,,,,,,
支出:xxx笔 12345.00元,,,,,,,,
中性交易:x笔 1234.00元,,,,,,,,
注:,,,,,,,,
1. 充值/提现/理财通购买/零钱通存取/信用卡还款等交易,将计入中性交易,,,,,,,,
2. 本明细仅展示当前账单中的交易,不包括已删除的记录,,,,,,,,
3. 本明细仅供个人对账使用,,,,,,,,
,,,,,,,,
----------------------微信支付账单明细列表--------------------,,,,,,,,
交易时间,交易类型,交易对方,商品,收/支,金额(元),支付方式,当前状态,交易单号,商户单号,备注
2024-06-07 23:40:27,分分捐,腾讯公益慈善基金会,"焕新乐园",支出,¥0.01,工商银行储蓄卡(0545),支付成功,4200002168202406076349888061	,156823045120240607AQEQJ8ZY4P	,"/"

Expected behavior
希望不要报错退出,希望如果腾讯新增任何交易类型都能处理,不要因为新增了一些交易类型就导致其他正确的交易也无法处理。

Log/Output data
If applicable, add log data or output data to help explain your problem.

Additional context
Add any other context about the problem here.

@qninth qninth added bug Something isn't working help wanted Extra attention is needed labels Feb 3, 2025
@qninth qninth changed the title 微信导出提示 微信导出提示 Failed to translate 需要新增 分分捐 交易类型 Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant