| | |
| | | * 充值2异步接收地址 |
| | | */ |
| | | @PostMapping({"rechargeCallbackTwo.do"}) |
| | | public void rechargeCallbackTwo(TransactionStatusVo vo, HttpServletResponse response) throws IOException { |
| | | public void rechargeCallbackTwo(@RequestParam("status") String status, |
| | | @RequestParam("merchantid") String merchantid, |
| | | @RequestParam("out_trade_no") String outTradeNo, |
| | | @RequestParam("total_fee") String totalFee, |
| | | @RequestParam("poundage") String poundage, |
| | | @RequestParam("account_fee") String accountFee, |
| | | @RequestParam("sign") String sign, HttpServletResponse response) throws IOException { |
| | | TransactionStatusVo vo = new TransactionStatusVo(); |
| | | vo.setStatus(status); |
| | | vo.setMerchantid(merchantid); |
| | | vo.setOut_trade_no(outTradeNo); |
| | | vo.setTotal_fee(totalFee); |
| | | vo.setPoundage(poundage); |
| | | vo.setAccount_fee(accountFee); |
| | | vo.setSign(sign); |
| | | payService.rechargeCallbackTwo(vo,response); |
| | | } |
| | | } |