Use current timestamp as 'id' for comment server request
This commit is contained in:
parent
c4445e85b9
commit
20579eff12
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ public class Comments {
|
|||
|
||||
Map<String, Object> requestParams = new HashMap<>(4);
|
||||
requestParams.put("jsonrpc", "2.0");
|
||||
requestParams.put("id",1);
|
||||
requestParams.put("id", TimeUnit.MILLISECONDS.toSeconds(System.currentTimeMillis()));
|
||||
requestParams.put("method", method);
|
||||
requestParams.put("params", params);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue