|
|
|
@@ -137,7 +137,6 @@ public class FuteUtil { |
|
|
|
param.put("total_amount", feestr);//优惠券编号 |
|
|
|
param.put("pay_channel", 1);//优惠券编号 |
|
|
|
param.put("pay_status", 1);//优惠券编号 |
|
|
|
log.info("fute notifyOrderResult :" + JSON.toJSONString(param)); |
|
|
|
return ProcBussiness(NOTIFY_PAID, param,vp.getString("signkey")); |
|
|
|
} |
|
|
|
|
|
|
|
@@ -163,10 +162,11 @@ public class FuteUtil { |
|
|
|
httpPost.setEntity(new StringEntity(JSON.toJSONString(param),"UTF-8")); |
|
|
|
} |
|
|
|
|
|
|
|
StringBuffer logsb = new StringBuffer(); |
|
|
|
if (null != param) { |
|
|
|
log.info("fute httpRequest:[url]"+url+"[params]"+JSON.toJSONString(param)); |
|
|
|
logsb.append("fute httpRequest:[url]").append(url).append("[params]").append(JSON.toJSONString(param)); |
|
|
|
}else { |
|
|
|
log.info("fute httpRequest:[url]"+url); |
|
|
|
logsb.append("fute httpRequest:[url]").append(url); |
|
|
|
} |
|
|
|
HttpResponse response = null; |
|
|
|
try { |
|
|
|
@@ -183,7 +183,7 @@ public class FuteUtil { |
|
|
|
//获取实体 |
|
|
|
HttpEntity httpEntity= response.getEntity(); |
|
|
|
result = EntityUtils.toString(httpEntity, "UTF-8"); |
|
|
|
log.debug(result); |
|
|
|
log.info(logsb.append("[result]").append(result).toString()); |
|
|
|
} catch (Exception e) { |
|
|
|
log.error(e.getLocalizedMessage(),e); |
|
|
|
} |
|
|
|
|