cache.ts 452 B

123456789101112131415161718192021222324
  1. import { deleteRequest, get } from "../base";
  2. /**
  3. * 列表查询
  4. * @returns .
  5. */
  6. export const queryList = () => {
  7. return get("/monitor/cache");
  8. };
  9. /**
  10. * 查找详情
  11. * @param param .
  12. * @returns .
  13. */
  14. export const queryInfo = (param: any) => {
  15. return get("/monitor/cache/query", param);
  16. };
  17. /**
  18. * 移除
  19. * @param param .
  20. * @returns .
  21. */
  22. export const remove = (param: any) => {
  23. return deleteRequest("/monitor/cache/remove", {}, param);
  24. };