update
This commit is contained in:
@@ -237,9 +237,17 @@
|
||||
}
|
||||
// 保存快照,保存完毕后设置 coop_mind_log_last_id 和 coop_mind_log_id
|
||||
if (me.coop_mind_log_id > me.coop_mind_log_last_id) {
|
||||
Jm.util.ajax.post(me.coop_api_url, param, function (resp) {
|
||||
me.coop_mind_log_last_id = me.coop_mind_log_id
|
||||
})
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: me.coop_api_url,
|
||||
headers: {"X-CSRFToken": $.cookie("csrftoken")},
|
||||
data: param,
|
||||
dataType: "json",
|
||||
success: function (data) {
|
||||
me.coop_mind_log_last_id = me.coop_mind_log_id
|
||||
},
|
||||
async: false
|
||||
});
|
||||
}
|
||||
}, 10000)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user