This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
"use client";
import { AppLayout } from "@/components/layout/app-layout";
import { EmbeddedQuoteWidget } from "@/components/embed/embedded-quote-widget";
const DEMO_TOKEN = "demo-host-token";
const DEMO_CUSTOMER = "CUST_001";
export default function EmbedDemoPage() {
return (
<AppLayout title="宿主嵌入演示">
<p className="mb-4 text-sm text-text-secondary">
模拟宿主系统内嵌查价组件(GD-11)。使用 Service Token 调用
POST /api/quotes 与 GET /api/quotes/{"{id}"}。
</p>
<EmbeddedQuoteWidget
serviceToken={DEMO_TOKEN}
customerId={DEMO_CUSTOMER}
apiBaseUrl=""
/>
</AppLayout>
);
}