| | |
| | | @Autowired |
| | | private RestTemplate outRestTemplate; |
| | | |
| | | public static final String wechatReturnUrl = "https://api.mch.weixin.qq.com/secapi/pay/refund"; |
| | | public static final String wechatReturnUrl = "https://api.plutuspay.com/open/v2/refund"; |
| | | |
| | | private static Logger logger = LoggerFactory.getLogger(ReturnPayFeeMoneyAdapt.class); |
| | | |
| | |
| | | throw new IllegalArgumentException("支付失败签名失败"); |
| | | } |
| | | //解密 |
| | | byte[] bb = PlutusFactory.decrypt(Base64.decode(content), PlutusFactory.SECRET_KEY); |
| | | byte[] bb = PlutusFactory.decrypt(Base64.decode(content), smallWeChatDtos.get(0).getPayPassword()); |
| | | //服务器返回内容 |
| | | String paramOut = new String(bb); |
| | | |