Add time in request to avoid cache
This commit is contained in:
parent
66b82a89ed
commit
3576aeac12
1 changed files with 2 additions and 2 deletions
|
@ -424,7 +424,7 @@ function SyncServer() {
|
|||
try {
|
||||
jQuery.getJSON(
|
||||
this.url+'/login',
|
||||
{'email':email,'password':password},
|
||||
{'email':email,'password':password, 'time': new Date().getTime()},
|
||||
function(data, textStatus) {
|
||||
console.log(data);
|
||||
if (textStatus=='success') {
|
||||
|
@ -455,7 +455,7 @@ function SyncServer() {
|
|||
try {
|
||||
jQuery.getJSON(
|
||||
this.url+'/subscribe',
|
||||
{'email':email,'name': name,'password':password},
|
||||
{'email':email,'name': name,'password':password, 'time': new Date().getTime()},
|
||||
function(data, textStatus) {
|
||||
console.log(data);
|
||||
if (textStatus=='success') {
|
||||
|
|
Loading…
Reference in a new issue