| | |
| | | //调用uu洗车支付成功回调 |
| | | Map map=new HashMap(); |
| | | map.put("orderId",respMap.get("order_id")); |
| | | HttpClientUtil.sendPostByJson("https://uu-api.imashuo.com/notify/wx/pzh-pay",JSONObject.toJSONString(map),1,"appid","10000");; |
| | | HttpClientUtil.sendPostByJson("https://uu-api.imashuo.com/notify/wx/pzh-pay",JSONObject.toJSONString(map), |
| | | 1,"appid","10000"); |
| | | log.error("花城洗车回调成功 :" + respMap.get("order_id")); |
| | | } |
| | | //调用SDK生成返回联动平台字符串,加到CONTENT中 |
| | |
| | | //2. 获取认证报文,timestamp为当前日期,老旧日期无法请求成功 |
| | | String authorization = null; |
| | | try { |
| | | authorization = getAuthorization(UnionpayContent.APPID,UnionpayContent.APPKEY,"201908091471000","nonce",reqBody.toString()); |
| | | authorization = getAuthorization(UnionpayContent.APPID,UnionpayContent.APPKEY, |
| | | time.format(DateUtils.format_ymdhms_string),"nonce",reqBody.toString()); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | return "退款失败"; |