MCPcopy Create free account
hub / github.com/PIKACHUIM/CFWorkerACME / apiGet

Function apiGet

frontend/src/api/request.ts:93–99  ·  view source on GitHub ↗
(
  url: string,
  params?: Record<string, any>,
)

Source from the content-addressed store, hash-verified

91 * 便捷 GET(返回 data 部分)
92 */
93export async function apiGet<T = ApiResp>(
94 url: string,
95 params?: Record<string, any>,
96): Promise<T> {
97 const res = await instance.get<T>(url, { params });
98 return res.data;
99}
100
101/**
102 * 便捷 POST

Callers 1

fetchApplyQuotaFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected