Commit 21b73e78 authored by 李增强's avatar 李增强

更改接口地址

parent cfba5bad
...@@ -40,12 +40,12 @@ class QMTJ { ...@@ -40,12 +40,12 @@ class QMTJ {
_tap = Tap(_db); _tap = Tap(_db);
_exposure = Exposure(_db); _exposure = Exposure(_db);
_db.init(); _db.init();
_ready = new Future.value(true);
Future.delayed(Duration(seconds: 5)).then((value) async { Future.delayed(Duration(seconds: 5)).then((value) async {
await _app.upload(); await _app.upload();
await _page.upload(); await _page.upload();
await _tap.upload(); await _tap.upload();
await _exposure.upload(); await _exposure.upload();
_ready = new Future.value(true);
}); });
} }
......
...@@ -8,7 +8,7 @@ class Utils { ...@@ -8,7 +8,7 @@ class Utils {
static String channel = ''; static String channel = '';
static String deviceId = ''; static String deviceId = '';
static bool isDebug = false; static bool isDebug = false;
static Http _http = Http(scheme: "http", host: "8.135.58.206", port: 8802); static Http _http = Http(scheme: "http", host: "bigdata.xiaomanxiong.com");
/// 设置调试模式 /// 设置调试模式
static void debug() { static void debug() {
......
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