产品购买 & 测试账号-免费领取

This commit is contained in:
Eamon
2026-10-13 13:32:53 +08:00
parent 160a9c9b97
commit 1fc625ede8
8 changed files with 282 additions and 396 deletions

View File

@@ -1,11 +1,11 @@
import type { ApiResponse } from "@/lib/api"
import type { ApiIndexItem } from "@/lib/models/dashboard"
import { callPublic } from "./base"
import { callByUserCookie } from "./base"
export async function fetchApiIndex(): Promise<
ApiResponse<ApiIndexItem | null>
> {
const res = await callPublic<ApiIndexItem | ApiIndexItem[]>(
const res = await callByUserCookie<ApiIndexItem | ApiIndexItem[]>(
"/user/ApiIndex",
undefined,
"GET",