Phần giới thiệu đang trống
Bài viết
Hỏi & Đáp
Set.of 질문드립니다.
저는 자바 8 이라 이렇게 했네요 Account admin = Account.builder().email(appProperties.getAdminUsername()) .password(appProperties.getAdminPassword()) .roles(Stream.of(AccountRole.ADMIN, AccountRole.USER).collect(Collectors.toSet())).build(); accountService.saveAccount(admin);
- Lượt thích
- 0
- Số bình luận
- 2
- Lượt xem
- 278
Hỏi & Đáp
안녕하세요 선장님 응답값 한글인코딩 여쭤봅니다
spring.http.encoding.charset=UTF-8 spring.http.encoding.enabled=true spring.http.encoding.force=true application.properties 에 추가 하면 되네요 검색해보면 헤더나 필터에 직접 설정하는 방법이 나오던데 제경우엔 이렇게 하니 한글로 잘 출력 됩니다.
- Lượt thích
- 3
- Số bình luận
- 5
- Lượt xem
- 588




