|
|
@@ -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);
|
|
|
}
|
|
|
}
|
|
|
|