Browse Source

fix bug

release_toaliyun_real
lin 2 years ago
parent
commit
6dde6bb404
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      mallinkService/src/main/java/com/iformall/service/park/impl/ketuo/KeTuoUtil.java

+ 3
- 2
mallinkService/src/main/java/com/iformall/service/park/impl/ketuo/KeTuoUtil.java View File

@@ -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;


Loading…
Cancel
Save