Commit b70905f4 authored by 李增强's avatar 李增强

m

parent 848c54c8
......@@ -19,7 +19,7 @@ class QMTJ {
isDebug = true;
}
static init() {
static init() async {
_http = Http(scheme: "http", host: "8.135.58.206", port: 8802);
_appStartUpId = _md5(_getDateNow().toString());
ready = new Future<bool>(() async {
......@@ -27,6 +27,7 @@ class QMTJ {
await _db.init();
return true;
});
await ready;
uploadPageTj();
}
......@@ -184,7 +185,6 @@ class QMTJ {
// 上传页面统计
static void uploadPageTj() async {
await ready;
List<Map> list = await _db.db.query("page_tj", limit: 100, offset: 0);
if (list.length == 0) {
return;
......
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