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

微信接收转账规则识别问题 #604

Closed
z1298808165 opened this issue Dec 14, 2024 · 0 comments
Closed

微信接收转账规则识别问题 #604

z1298808165 opened this issue Dec 14, 2024 · 0 comments

Comments

@z1298808165
Copy link

错误:现在收到转账的通知会触发规则(支出类型),并且因为cachedPayTools是"亲属卡",所以记录为"亲属卡"消费了

实际:当微信接收转账时,分别会接到2种类型的通知,一个是收到转账,一个是接收转账后存入零钱,这时应该按成功接收转账来计算账单

收到转账
{"type":"transfer","isSend":0,"content":"{\"msg\":{\"content\":\"\\n\\t\",\"appmsg\":{\"content\":\"\",\"extinfo\":\"\",\"des\":\"收到转账666.00元。如需收钱,请点此升级至最新版本\",\"lowurl\":\"\",\"wcpayinfo\":{\"content\":\"\\n\\t\\t\",\"payer_username\":\"\",\"feedesc\":\"¥666.00\",\"transcationid\":\"53010001163085202412142480784284\",\"pay_memo\":\"\",\"invalidtime\":\"1734238656\",\"begintransfertime\":\"1734152256\",\"transferid\":\"1000050001202412141323204451956\",\"effectivedate\":\"1\",\"paysubtype\":\"1\",\"receiver_username\":\"wxid_ikbz1iyza6tn21\"},\"appid\":\"\",\"sdkver\":\"\",\"action\":\"\",\"title\":\"微信转账\",\"type\":\"2000\",\"thumburl\":\"https:\\/\\/support.weixin.qq.com\\/cgi-bin\\/mmsupport-bin\\/readtemplate?t=page\\/common_page__upgrade&text=text001&btn_text=btn_text_0\",\"url\":\"https:\\/\\/support.weixin.qq.com\\/cgi-bin\\/mmsupport-bin\\/readtemplate?t=page\\/common_page__upgrade&text=text001&btn_text=btn_text_0\"}}}","hookerUser":"某某A","cachedPayTools":"亲属卡","cachedPayMoney":"¥15.00","cachedPayShop":"向某某B(*某)转账","t":1734152256900}

接收转账
{"trans_status":2001,"retcode":"0","retmsg":"ok","fee":66600,"fee_type":"1","refund_bank_type":"BANK","payer_name":"wxid_v7uaxwuwfahs21","receiver_name":"wxid_ikbz1iyza6tn21","status_desc":"你已收款,资金已存入零钱","status_supplementary":"<_wc_custom_link_ href=\"weixin:\/\/wcpay\/transfer\/watchbalance\">零钱余额<\/_wc_custom_link_>","delay_confirm_flag":0,"is_payer":false,"exposure_info":{"icon":"https:\/\/act.weixin.qq.com\/static\/images\/201811\/fa7720735f3f4db765f354c4daf5e620.png","name":"零钱通 七日年化1.39%","wording":"给小金库再添一笔","is_show_btn":1,"btn_wording":"转入","jump_info":{"type":3,"url":"weixin:\/\/wcpay\/lqt\/save?operate_id=00023384406820017341522696469181&trace_info=COqLh9sIEAIaNgoMYXBwX3RyYW5zZmVyEiBjOTI1YjUwZGU5ZThlMjhlZmFkNzA4ZTYwNDk1ZjVjOBjNoPS6BiI2CgxhcHBfdHJhbnNmZXISIGM5MjViNTBkZTllOGUyOGVmYWQ3MDhlNjA0OTVmNWM4GM2g9LoG","username":"","pagepath":""}},"text_info":{},"desc_item_list":[{"key":"转账时间","value":"2024年12月14日 12:57:36","item_type":3},{"key":"收款时间","value":"2024年12月14日 12:57:49","item_type":4}],"upright_corner_list":[],"customer_info_list":[],"hookUser":"某某A","cachedPayTools":"亲属卡","cachedPayMoney":"¥15.00","cachedPayShop":"向某某B(*某)转账"}

另外数据中最后的这些记录应该是不对的,cachedPayTools、cachedPayMoney、cachedPayShop都是错误的
`"cachedPayTools":"亲属卡","cachedPayMoney":"¥15.00","cachedPayShop":"向某某B(*某)转账"}``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants