public JsonResult GetAllWidgets(string layoutId) { return(Try(() => LayoutService.GetLayoutManager(layoutId.ToGuid()).GetWidgets(), "获取组件失败", "获取组件成功")); }