diff --git a/src/api/infra/apiAccessLog/index.ts b/src/api/infra/apiAccessLog/index.ts index c6b4b45f..4fa50e17 100644 --- a/src/api/infra/apiAccessLog/index.ts +++ b/src/api/infra/apiAccessLog/index.ts @@ -8,11 +8,15 @@ export interface ApiAccessLogVO { applicationName: string requestMethod: string requestParams: string + responseBody: string requestUrl: string userIp: string userAgent: string + operateModule: string + operateName: string + operateType: number beginTime: Date - endTIme: Date + endTime: Date duration: number resultCode: number resultMsg: string diff --git a/src/views/infra/apiAccessLog/ApiAccessLogDetail.vue b/src/views/infra/apiAccessLog/ApiAccessLogDetail.vue index 0fd5aec3..ca7fa8fb 100644 --- a/src/views/infra/apiAccessLog/ApiAccessLogDetail.vue +++ b/src/views/infra/apiAccessLog/ApiAccessLogDetail.vue @@ -26,6 +26,9 @@ {{ detailData.requestParams }} + + {{ detailData.responseBody }} + {{ formatDate(detailData.beginTime) }} ~ {{ formatDate(detailData.endTime) }} @@ -36,6 +39,15 @@ 失败 | {{ detailData.resultCode }} | {{ detailData.resultMsg }} + + {{ detailData.operateModule }} + + + {{ detailData.operateName }} + + + + diff --git a/src/views/infra/apiAccessLog/index.vue b/src/views/infra/apiAccessLog/index.vue index b196da11..4485b730 100644 --- a/src/views/infra/apiAccessLog/index.vue +++ b/src/views/infra/apiAccessLog/index.vue @@ -91,16 +91,16 @@ - + - + - + - + + + + + +