feat: 获取博客API添加描述字段
This commit is contained in:
@@ -5,6 +5,7 @@ export async function getBlog(id: string, password?: string) {
|
|||||||
return clientFetch<{
|
return clientFetch<{
|
||||||
id: string;
|
id: string;
|
||||||
title: string;
|
title: string;
|
||||||
|
description: string;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
content: string;
|
content: string;
|
||||||
}>(`/api/blog/${id}` + (password ? `?p=${password}` : ''));
|
}>(`/api/blog/${id}` + (password ? `?p=${password}` : ''));
|
||||||
|
|||||||
Reference in New Issue
Block a user