Modify obsolete swagger parameters in AuditLogController (#10494)

Co-authored-by: syyang <730122+syyang99@user.noreply.gitee.com>
(cherry picked from commit 79ce5d78cd)
This commit is contained in:
syyangs799 2022-06-19 22:54:14 +08:00 committed by Jiajie Zhong
parent a27a45fcfe
commit ae7df493a8
1 changed files with 3 additions and 5 deletions

View File

@ -56,7 +56,7 @@ public class AuditLogController extends BaseController {
*
* @param loginUser login user
* @param pageNo page number
* @param moduleType module type
* @param resourceType resource type
* @param operationType operation type
* @param startDate start time
* @param endDate end time
@ -68,11 +68,9 @@ public class AuditLogController extends BaseController {
@ApiImplicitParams({
@ApiImplicitParam(name = "startDate", value = "START_DATE", type = "String"),
@ApiImplicitParam(name = "endDate", value = "END_DATE", type = "String"),
@ApiImplicitParam(name = "moduleType", value = "MODULE_TYPE", type = "String"),
@ApiImplicitParam(name = "operationType", value = "OPERATION_TYPE", type = "String"),
@ApiImplicitParam(name = "resourceType", value = "RESOURCE_TYPE", type = "AuditResourceType"),
@ApiImplicitParam(name = "operationType", value = "OPERATION_TYPE", type = "AuditOperationType"),
@ApiImplicitParam(name = "userName", value = "USER_NAME", type = "String"),
@ApiImplicitParam(name = "projectName", value = "PROJECT_NAME", type = "String"),
@ApiImplicitParam(name = "processName", value = "PROCESS_NAME", type = "String"),
@ApiImplicitParam(name = "pageNo", value = "PAGE_NO", required = true, dataType = "Int", example = "1"),
@ApiImplicitParam(name = "pageSize", value = "PAGE_SIZE", required = true, dataType = "Int", example = "20")
})