| | |
| | | // } |
| | | |
| | | @PostMapping(value = "/agreeMentPayCallBack") |
| | | public String agreeMentPayCallBack(@RequestBody AgreeMentPayCallBackDto agreeMentPayCallBackDto){ |
| | | log.info("进入汇聚支付协议支付回调"+ JSONUtil.parseObj(agreeMentPayCallBackDto)); |
| | | String data = agreeMentPayCallBackDto.getData(); |
| | | public String agreeMentPayCallBack(@RequestBody JSONObject jsonObjectStr){ |
| | | log.info("进入汇聚支付协议支付回调"+ JSONUtil.parseObj(jsonObjectStr)); |
| | | JSONObject agreeMentPayCallBackDto = JSONUtil.parseObj(jsonObjectStr); |
| | | String data = agreeMentPayCallBackDto.get("data").toString(); |
| | | JSONObject jsonObject = JSONUtil.parseObj(data); |
| | | String orderNo = jsonObject.get("mch_order_no").toString(); |
| | | String pay_success_time = jsonObject.get("pay_success_time").toString(); |
| | | String jp_order_no = jsonObject.get("jp_order_no").toString(); |
| | | String biz_code = agreeMentPayCallBackDto.getBiz_code(); |
| | | String biz_code = agreeMentPayCallBackDto.get("biz_code").toString(); |
| | | |
| | | log.info("进入汇聚支付协议支付回调"+orderNo+";"+pay_success_time+";"+biz_code+";"+jp_order_no); |
| | | if("JS000000".equals(biz_code) && StrUtil.isNotBlank(orderNo)){ |