This commit is contained in:
韩鹏辉 2024-07-10 15:10:21 +08:00
parent 402a9b635f
commit 288a8b76be
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ public class NotifyController {
if("TRADE_SUCCESS".equals(object.get("state").toString())){
JSONObject extParam = object.getJSONObject("extParam");
String orderNo=object.get("mchOrderNo").toString();
if (PayTypeConstant.MINI_PAY.equals(extParam.getStr("payType"))) {
if (ObjectUtil.isNotEmpty(extParam)&&ObjectUtil.isNotNull(extParam)&&PayTypeConstant.MINI_PAY.equals(extParam.getStr("payType"))) {
log.info("接收到微信点歌支付成功回调,订单编号:{}", orderNo);
return payService.songPaySuccess(orderNo, extParam.getStr("orderNo"));
}else {