You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
685 B

This file contains ambiguous Unicode characters!

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>
);
}