|
|
|
@@ -111,9 +111,10 @@ public class KeTuoUtil { |
|
|
|
params.put("parkId", parkId); |
|
|
|
params.put("serviceCode", serviceCode); |
|
|
|
params.put("ts", String.valueOf(Calendar.getInstance().getTimeInMillis())); |
|
|
|
params.put("reqId", Utility.generate32UUID()+String.valueOf(Calendar.getInstance().getTimeInMillis())); |
|
|
|
//params.put("reqId", Utility.generate32UUID()+String.valueOf(Calendar.getInstance().getTimeInMillis())); |
|
|
|
params.put("reqId", Utility.generate32UUID()); |
|
|
|
params.put("key", paramsSign(params, appSercet)); |
|
|
|
httpPost.setEntity(new StringEntity(JSONObject.toJSONString(params))); |
|
|
|
httpPost.setEntity(new StringEntity(JSONObject.toJSONString(params),ContentType.create("application/json","utf-8"))); |
|
|
|
} catch (Exception e) { |
|
|
|
log.error(e.getLocalizedMessage(),e); |
|
|
|
return null; |
|
|
|
|