import type { SiteFormSectionProps } from "./siteFormModalTypes"; type SiteFormAuthFieldsProps = SiteFormSectionProps & { editingId: string | null; }; const authOptions = [ { value: "cookie", label: "Cookie" }, { value: "api_key", label: "API Key" }, { value: "auth_header", label: "Auth Header" }, ]; export function SiteFormAuthFields({ editingId, form, setForm, }: SiteFormAuthFieldsProps) { return (
{form.type === "mteam" ? "馒头:控制台 → 实验室 → 存取令牌;第三方工具通过 x-api-key 请求头访问" : form.type === "yemapt" ? "YemaPT:个人详情页 → 第三方对接专用 auth;通过 Authorization 请求头原样访问" : "站点的访问 API Key"}
站点 RSS 订阅地址,用于获取最新资源