MCPcopy
hub / github.com/1Panel-dev/MaxKB / get

Function get

ui/src/request/index.ts:139–146  ·  view source on GitHub ↗
(
  url: string,
  params: unknown,
  loading?: NProgress | Ref<boolean>,
  timeout?: number,
)

Source from the content-addressed store, hash-verified

137 loading?: NProgress | Ref<boolean>,
138 timeout?: number,
139) => Promise<Result<any>> = (
140 url: string,
141 params: unknown,
142 loading?: NProgress | Ref<boolean>,
143 timeout?: number,
144) => {
145 return promise(request({ url: url, method: 'get', params, timeout: timeout }), loading)
146}
147
148/**
149 * faso post请求 一般用来添加资源

Callers 15

getKnowledgeListFunction · 0.90
getKnowledgeListPageFunction · 0.90
getKnowledgeDetailFunction · 0.90
getDocumentPageFunction · 0.90
getDocumentDetailFunction · 0.90
getProblemsPageFunction · 0.90
getUserGroupUserListFunction · 0.90
getUserGroupListFunction · 0.90
getParagraphPageFunction · 0.90
getModelListFunction · 0.90
getToolListFunction · 0.90
getToolListPageFunction · 0.90

Calls 1

promiseFunction · 0.70

Tested by

no test coverage detected