This commit is contained in:
2025-06-19 22:03:57 +08:00
parent 8f2df85208
commit 6e73220962
19 changed files with 52 additions and 71 deletions

View File

@@ -2,8 +2,8 @@ import { User } from "@/lib/types/user";
import fetcher from "../../fetcher";
export type updateUser = {
username: string;
nickname: string;
username: string ;
nickname: string ;
email: string | null;
phone: string | null;
}

View File

@@ -1,7 +1,9 @@
import fetcher from "@/lib/api/fetcher";
type CreateBlogParams = {
title: string;
description: string;
contentUrl: string;
}
export async function create(data: CreateBlogParams) {

View File

@@ -1,4 +1,3 @@
import { Blog } from "@/lib/types/blog";
import fetcher from "../fetcher";
export async function get(id: string) {