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