修改
This commit is contained in:
@@ -57,7 +57,7 @@ public class NotifyController {
|
|||||||
if("TRADE_SUCCESS".equals(object.get("state").toString())){
|
if("TRADE_SUCCESS".equals(object.get("state").toString())){
|
||||||
JSONObject extParam = object.getJSONObject("extParam");
|
JSONObject extParam = object.getJSONObject("extParam");
|
||||||
String orderNo=object.get("mchOrderNo").toString();
|
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);
|
log.info("接收到微信点歌支付成功回调,订单编号:{}", orderNo);
|
||||||
return payService.songPaySuccess(orderNo, extParam.getStr("orderNo"));
|
return payService.songPaySuccess(orderNo, extParam.getStr("orderNo"));
|
||||||
}else {
|
}else {
|
||||||
|
|||||||
Reference in New Issue
Block a user