log.js 230 B

1234567891011
  1. import { get } from "../config/request";
  2. export const getLog = async ({ ptId }) => {
  3. try {
  4. const res = await get(`/log?ptId=${ptId}`);
  5. return res.data;
  6. } catch (error) {
  7. console.log("error", error);
  8. return false;
  9. }
  10. };