추론 실행 영구제외 조건 추가
추론 결과 UID 앞 8자리 추가 종료->완료, 종료->강제종료 상태 변경
This commit is contained in:
@@ -2,7 +2,6 @@ package com.kamco.cd.kamcoback.menu;
|
||||
|
||||
import com.kamco.cd.kamcoback.common.utils.UserUtil;
|
||||
import com.kamco.cd.kamcoback.config.api.ApiResponseDto;
|
||||
import com.kamco.cd.kamcoback.menu.dto.MenuDto;
|
||||
import com.kamco.cd.kamcoback.menu.dto.MyMenuDto;
|
||||
import com.kamco.cd.kamcoback.menu.service.MyMenuService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
@@ -26,18 +25,48 @@ public class MyMenuApiController {
|
||||
private final MyMenuService myMenuService;
|
||||
|
||||
@Operation(summary = "사용자별 메뉴 조회", description = "로그인 사용자별 권한 메뉴 목록")
|
||||
@ApiResponses(
|
||||
value = {
|
||||
@ApiResponse(
|
||||
responseCode = "200",
|
||||
description = "조회 성공",
|
||||
content =
|
||||
@Content(
|
||||
mediaType = "application/json",
|
||||
schema = @Schema(implementation = MenuDto.Basic.class))),
|
||||
@ApiResponse(responseCode = "404", description = "코드를 찾을 수 없음", content = @Content),
|
||||
@ApiResponse(responseCode = "500", description = "서버 오류", content = @Content)
|
||||
})
|
||||
@ApiResponses({
|
||||
@ApiResponse(
|
||||
responseCode = "200",
|
||||
description = "조회 성공",
|
||||
content =
|
||||
@Content(
|
||||
mediaType = "application/json",
|
||||
schema =
|
||||
@Schema(
|
||||
type = "object",
|
||||
example =
|
||||
"""
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": "string",
|
||||
"name": "string",
|
||||
"menuUrl": null,
|
||||
"order": 0,
|
||||
"children": [
|
||||
{
|
||||
"id": "string",
|
||||
"name": "string",
|
||||
"menuUrl": "string",
|
||||
"order": 0,
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"id": "string",
|
||||
"name": "string",
|
||||
"menuUrl": "string",
|
||||
"order": 0,
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
"""))),
|
||||
@ApiResponse(responseCode = "404", description = "코드를 찾을 수 없음", content = @Content),
|
||||
@ApiResponse(responseCode = "500", description = "서버 오류", content = @Content)
|
||||
})
|
||||
@GetMapping
|
||||
public ApiResponseDto<List<MyMenuDto.Basic>> getFindAllByRole() {
|
||||
UserUtil userUtil = new UserUtil();
|
||||
|
||||
Reference in New Issue
Block a user