assistant-todo/src/components/service/Share.tsx

9 lines
365 B
TypeScript
Raw Normal View History

2025-07-30 06:43:37 -04:00
import {AxiosResponse} from "axios";
import {ResponseVO} from "@/lib/definitions";
import {httpReq} from "@/utils/axiosReq";
import {ShareVO} from "@/components/type/Share.d";
export const addTaskPassAPI= (data:ShareVO):Promise<AxiosResponse<ResponseVO<ShareVO>>> =>{
return httpReq.post(process.env.NEXT_PUBLIC_TODO_REQUEST_URL + "/task/pass",
data)
}