Commit 409c2814 authored by 李增强's avatar 李增强

m

parent d42cedae
...@@ -111,7 +111,13 @@ class QMTJ { ...@@ -111,7 +111,13 @@ class QMTJ {
String extrasStr = json.encode(extras); String extrasStr = json.encode(extras);
String id = _md5("${pageId}_${lastPageId}_$extrasStr"); String id = _md5("${pageId}_${lastPageId}_$extrasStr");
int disappearTime = _getDateNow(); int disappearTime = _getDateNow();
Map<String, dynamic> map = {
"id": id,
"page_id": pageId,
"last_page_id": lastPageId,
"disappear_time": disappearTime,
"extras": extrasStr,
};
await ready; await ready;
log("pageDisappear", map); log("pageDisappear", map);
await _db.db.update( await _db.db.update(
...@@ -121,13 +127,6 @@ class QMTJ { ...@@ -121,13 +127,6 @@ class QMTJ {
}, },
where: "id = ? and disappear_time = 0", where: "id = ? and disappear_time = 0",
whereArgs: [id]); whereArgs: [id]);
Map<String, dynamic> map = {
"id": id,
"page_id": pageId,
"last_page_id": lastPageId,
"disappear_time": disappearTime,
"extras": extrasStr,
};
} }
/// 点击 /// 点击
......
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