Commit ebbc415d authored by joe's avatar joe
Browse files

add timestamp

parent 5e753045
No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
......@@ -42,7 +42,9 @@ export const formatDate = function(d, format) {
}
export const getSignParams = s => {
let timestamp = Date.parse(new Date());
let now = Date.parse(new Date());
s["timestamp"] = (now / 1000).toString();
return Object.assign(s, {
//timestamp: (timestamp / 1000).toString(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment