import type { TaskLog } from "@/api/interface/index";
import { PORT1 } from "@/api/config/servicePort";
import http from "@/api";

export const GetTaskLogList = (params: TaskLog.ReqGetTaskLogList) => {
  return http.post<TaskLog.ResGetTaskLogList>(PORT1 + `/GetTaskLogList`, params);
};

export const GetTaskLogDetail = (params: TaskLog.ReqGetTaskLogDetail) => {
  return http.post<TaskLog.ResGetTaskLogDetail>(PORT1 + `/GetTaskLogDetail`, params);
};
