permiss-log-manage.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /**
  2. 授权日志管理接口
  3. @author linqian
  4. @Date:2021-05-27
  5. */
  6. import request from "@/utils/request";
  7. const baseUrl = "/auditsvr/v2";
  8. /********************************************** 授权管理日志 *********************************************/
  9. // tableUrl
  10. export const authManageLogTableUrl = `${baseUrl}/authorizeLog/_search`;
  11. // 日志详情
  12. export function getAuthManageLogDetail(id) {
  13. return request({
  14. url: `${baseUrl}/authorizeLog/${id}`,
  15. method: "GET"
  16. });
  17. }
  18. /********************************************** 鉴权服务日志 *********************************************/
  19. // tableUrl
  20. export const authServiceLogTableUrl = `${baseUrl}/authenticationLog/_search`;
  21. // 日志详情
  22. export function getAuthServiceLogDetail(id) {
  23. return request({
  24. url: `${baseUrl}/authenticationLog/${id}`,
  25. method: "GET"
  26. });
  27. }
  28. // 统计信息tableUrl
  29. export const authServiceLogStatisticsTableUrl = `${baseUrl}/authenticationLog/statistics`;
  30. /********************************************** 鉴权风险日志 *********************************************/
  31. // tableUrl
  32. export const authRiskLogTableUrl = `${baseUrl}/riskLog/_search`;
  33. // 日志详情
  34. export function getAuthRiskLogDetail(id) {
  35. return request({
  36. url: `${baseUrl}/riskLog/${id}`,
  37. method: "GET"
  38. });
  39. }