Browse Source

fix银行卡已绑定

xiongzhu 4 năm trước cách đây
mục cha
commit
c6f89bc975

+ 1 - 1
src/main/java/com/izouma/nineth/service/PayEaseService.java

@@ -75,7 +75,7 @@ public class PayEaseService {
             String error = responseData.getString("error");
             String cause = responseData.getString("cause");
             Pattern p = Pattern.compile("银行卡已绑定!绑卡ID:(\\d+)");
-            Matcher m = p.matcher("银行卡已绑定!绑卡ID:20220602315804717062699846352896");
+            Matcher m = p.matcher(cause);
             if (m.find()) {
                 String bindCardId = m.group(1);
                 if (StringUtils.isNotEmpty(bindCardId)) {