完成调试

This commit is contained in:
sanfan.hx
2019-07-04 18:28:30 +08:00
parent acfe81b5d1
commit 2c7642c576
16 changed files with 326 additions and 139 deletions

View File

@ -50,4 +50,15 @@ class DataUtils {
return false;
}
}
/// 获取widget列表处的树型数据
static Future<List> getWidgetTreeList() async {
var response = await NetUtils.get(Api.GET_WIDGET_TREE);
if (response['success']) {
return response['data'];
} else {
return [];
}
}
}