Skip to content

Commit

Permalink
兼容微信8.0.50
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouzhouprogram committed Jul 9, 2024
1 parent d3f4510 commit e56a800
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ V免签 是基于SpringBoot 2.1.1/ThinkPhP5.1 实现的一套免签支付程序
## 前言

[赞助链接](http://card.netsite.cc/p/5lle3xdfw5s8lpgqvdad)
[赞助链接](https://card.zwc365.com/p/2eyzmzlwcdc076wm8zc2)

## 安装

Expand Down
6 changes: 5 additions & 1 deletion app/src/main/java/com/vone/vmq/NeNotificationService2.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,11 @@ public void run() {
} else if ("com.tencent.mm".equals(pkg)
|| "com.tencent.wework".equals(pkg)) {
if (!content.equals("")) {
if (title.equals("微信支付") || title.equals("微信收款助手") || title.equals("微信收款商业版")
// 微信 最新版 8.0.50 开始,对收款通知栏格式做了修改
if (title.equals("微信") || title.equals("微信支付") || title.equals("微信收款助手") || title.equals("微信收款商业版")
|| content.contains("微信支付")
|| content.contains("微信收款助手")
|| content.contains("微信收款商业版")
|| (title.equals("对外收款") || title.equals("企业微信")) &&
(content.contains("成功收款") || content.contains("收款通知"))) {
String money = getMoney(content);
Expand Down

0 comments on commit e56a800

Please sign in to comment.