(id: number)
| 7 | return http.postLocalNode<ResPage<Host.Host>>(`/hosts/search`, params); |
| 8 | }; |
| 9 | export const getHostByID = (id: number) => { |
| 10 | return http.postLocalNode<Host.Host>(`/hosts/info`, { id: id }); |
| 11 | }; |
| 12 | export const getHostTree = (params: Host.ReqSearch) => { |
| 13 | return http.postLocalNode<Array<Host.HostTree>>(`/hosts/tree`, params); |
| 14 | }; |
nothing calls this directly
no test coverage detected