Commit 44ad10bd authored by 李增强's avatar 李增强

添加设备类型和网络类型

parent 949d5b4d
......@@ -22,6 +22,16 @@ class QMTJ {
Utils.debug();
}
// 设置设备ID
static void setDeviceId(String d) {
Utils.setDeviceId(d);
}
// 设置渠道
static void setChannel(String d) {
Utils.setChannel(d);
}
static init() async {
_db = DB();
_app = App(_db);
......@@ -31,7 +41,7 @@ class QMTJ {
_db.init();
Future.delayed(Duration(seconds: 5)).then((value) async {
await _app.upload();
await _page.upload();
await _page.upload();
await _tap.upload();
await _exposure.upload();
});
......
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