checkUpdate static method
检查更新
Implementation
static Future<DataResult> checkUpdate() async {
var res = await BaseDao.fromBaseJson({}, Address.checkUpdate());
if (res.result) {
dynamic entity;
if (res.data != null) {
entity = UpdateEntity.fromJson(res.data);
}
return DataResult(entity, true);
}
return res;
}