import { post, get, DELETE } from "@/utils/request"; let BASE_API = "https://www.eiacloud.com/hpy"; export const getReportReviewList = (params) => { return fetch("https://www.eiacloud.com/hpy/api/report/approval/homePage"); }; export const getOssStr = () => { return fetch("https://www.eiacloud.com/hpy/api/report/approval/getOssSts", { method: "get", }); }; export const getFileBaseInfo = (filePath) => { return fetch( `${BASE_API}/api/report/approval/fileBaseInfo?filePathReport=${filePath}`, { method: "get", // headers: { // "Content-Type": "application/json", // }, } ); }; export const delOssFile = (filePath) => { return fetch( `${BASE_API}/api/report/approval/removeOss?filePathReport=${filePath}`, { method: "get", } ); }; export const getPaymentStatus = (id) => { return fetch(`${BASE_API}/api/report/approval/result?id=${id}`, { method: "get", }); }; export const getFileAuditRes = (id, userId) => { return fetch( `${BASE_API}/api/report/approval/view?id=${id}&userId=${userId}`, { method: "get", } ); };