mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-02-16 13:21:10 -05:00
✨ feat(tos): Display data
This commit is contained in:
parent
a782c17a59
commit
6024454d57
@ -1,11 +1,11 @@
|
|||||||
'use client';
|
import { getTos } from '@/services/common/common';
|
||||||
|
|
||||||
import { Markdown } from '@repo/ui/markdown';
|
import { Markdown } from '@repo/ui/markdown';
|
||||||
|
|
||||||
export default function Page() {
|
export default async function Page() {
|
||||||
|
const { data } = await getTos();
|
||||||
return (
|
return (
|
||||||
<div className='container py-8'>
|
<div className='container py-8'>
|
||||||
<Markdown>隐私协议</Markdown>
|
<Markdown>{data.data?.tos_content || ''}</Markdown>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user