feat: 重构前端api封装结构

This commit is contained in:
2025-12-16 22:51:27 +08:00
parent 0018b50914
commit 5ce34c4c95
46 changed files with 211 additions and 441 deletions

View File

@@ -0,0 +1,5 @@
import { serverFetch } from "../server";
export async function list() {
return serverFetch('/api/blog')
}