import { fetchWithAuth } from "./client";

export const diagnosisApi = {
  /** 获取SEO诊断结果 */
  getSEODiagnosis: (token: string, brandId: string) =>
    fetchWithAuth(`/api/v1/diagnosis/seo/${brandId}`, {}, token),

  /** 获取GEO诊断结果 */
  getGEODiagnosis: (token: string, brandId: string) =>
    fetchWithAuth(`/api/v1/diagnosis/geo/${brandId}`, {}, token),

  /** 获取综合诊断结果 */
  getCombinedDiagnosis: (token: string, brandId: string) =>
    fetchWithAuth(`/api/v1/diagnosis/combined/${brandId}`, {}, token),
};
