refactor(用例管理):用例评审的日志key

This commit is contained in:
guoyuqi 2024-01-29 20:37:23 +08:00 committed by 刘瑞斌
parent 3c3f1ab5f7
commit 2484d8fcd0
2 changed files with 9 additions and 6 deletions

View File

@ -60,7 +60,7 @@ public class CaseReviewLogService {
null,
null,
OperationLogType.ADD.name(),
OperationLogModule.CASE_REVIEW,
OperationLogModule.CASE_REVIEW_CREATE,
requests.getName());
dto.setPath("/case/review/add");
@ -82,7 +82,7 @@ public class CaseReviewLogService {
null,
null,
OperationLogType.COPY.name(),
OperationLogModule.CASE_REVIEW,
OperationLogModule.CASE_REVIEW_CREATE,
requests.getName());
dto.setPath("/case/review/copy");
@ -108,7 +108,7 @@ public class CaseReviewLogService {
caseReview.getId(),
caseReview.getCreateUser(),
OperationLogType.UPDATE.name(),
OperationLogModule.CASE_REVIEW,
OperationLogModule.CASE_REVIEW_UPDATE,
caseReview.getName());
dto.setPath("/case/review/edit");
@ -167,7 +167,7 @@ public class CaseReviewLogService {
caseReview.getId(),
caseReview.getCreateUser(),
OperationLogType.ASSOCIATE.name(),
OperationLogModule.CASE_REVIEW,
OperationLogModule.CASE_REVIEW_DETAIL,
functionalCase.getName());
dto.setPath("/case/review/associate");
@ -194,7 +194,7 @@ public class CaseReviewLogService {
caseReview.getId(),
null,
OperationLogType.DISASSOCIATE.name(),
OperationLogModule.CASE_REVIEW,
OperationLogModule.CASE_REVIEW_DETAIL,
functionalCase.getName());
dto.setPath("/case/review/disassociate");
@ -218,7 +218,7 @@ public class CaseReviewLogService {
caseReviewFunctionalCase.getId(),
null,
OperationLogType.DISASSOCIATE.name(),
OperationLogModule.CASE_REVIEW,
OperationLogModule.CASE_REVIEW_DETAIL,
functionalCase.getName());
dto.setPath("/case/review/batch/disassociate");
dto.setMethod(HttpMethodConstants.POST.name());

View File

@ -96,6 +96,9 @@ public class OperationLogModule {
public static final String CASE_REVIEW = "CASE_MANAGEMENT_REVIEW";
public static final String CASE_REVIEW_CREATE = "CASE_MANAGEMENT_REVIEW_CREATE";
public static final String CASE_REVIEW_UPDATE = "CASE_MANAGEMENT_REVIEW_UPDATE";
public static final String CASE_REVIEW_DETAIL = "CASE_MANAGEMENT_REVIEW_DETAIL";
//接口调试
public static final String API_DEBUG = "API_DEBUG";