skyline 2 سال پیش
والد
کامیت
9281d1d75c
1فایلهای تغییر یافته به همراه3 افزوده شده و 5 حذف شده
  1. 3 5
      service/src/main/java/com/kym/service/wechat/impl/WxPayServiceImpl.java

+ 3 - 5
service/src/main/java/com/kym/service/wechat/impl/WxPayServiceImpl.java

@@ -860,11 +860,9 @@ public class WxPayServiceImpl implements WxPayService {
         Notification notification = JSONObject.parseObject(requestParam.getBody(), Notification.class);
         switch (notification.getEventType()) {
             // 发票抬头填写完成
-            case "FAPIAO.USER_APPLIED":
-                titleWriteNotice(notifyRes);
-                // 发票开具结果
-            case "FAPIAO.ISSUED":
-                wxInvoiceNotify(notifyRes);
+            case "FAPIAO.USER_APPLIED" -> titleWriteNotice(notifyRes);
+            // 发票开具结果
+            case "FAPIAO.ISSUED" -> wxInvoiceNotify(notifyRes);
         }
     }