Commit 0f71a254 authored by 李增强's avatar 李增强

m

parent bfeac537
...@@ -214,12 +214,12 @@ class QMTJ { ...@@ -214,12 +214,12 @@ class QMTJ {
_http.post("/collection", {"project": json.encode(list)}).then( _http.post("/collection", {"project": json.encode(list)}).then(
(value) async { (value) async {
if (isDebug) { if (isDebug) {
log("upload_page_tj", value); log("upload_page_tj", Map<String,dynamic>.from(value));
} }
if (value != null && value['code'] == 200) { if (value != null && value['code'] == 200) {
int result = await _db.db int result = await _db.db
.rawDelete("delete from page_tj where id in('${ids.join("','")}')"); .rawDelete("delete from page_tj where id in('${ids.join("','")}')");
log("clear_page_tj", {"olength": list.length, "length": result}); log("clear_page_tj", Map<String,dynamic>.from({"olength": list.length, "length": result}));
} }
}); });
} }
......
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