장황하거나 중복 코드 구문, 코드 성숙도, 코드 스타일 이슈
This commit is contained in:
@@ -69,7 +69,7 @@ public class FrontSecurityConfig {
|
||||
List<String> publicAccess =
|
||||
Arrays.stream(PublicAccess.values())
|
||||
.map(PublicAccess::getPath)
|
||||
.collect(Collectors.toList());
|
||||
.toList();
|
||||
|
||||
// front - 익명 사용자 접근 허용 URI 등록 (admin 과 달리 공개/비공개 URL 이 존재한다)
|
||||
FrontPublicAccess.getInstance().setURIs(List.of("/", "/user/register", "/policy/**"));
|
||||
|
||||
@@ -2,10 +2,12 @@ package app.module.front.config.application.security;
|
||||
|
||||
import java.util.Collection;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.security.core.GrantedAuthority;
|
||||
import org.springframework.security.core.userdetails.User;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class FrontUser extends User {
|
||||
|
||||
private String nickname;
|
||||
|
||||
@@ -70,7 +70,7 @@ public class DailyRecordController {
|
||||
*/
|
||||
@PostMapping(path = "/{searchMonth}/{groupNo}/today-none")
|
||||
ResponseEntity<?> todayNone(@PathVariable("searchMonth") String searchMonth, @PathVariable("groupNo") String groupNo
|
||||
, @RequestParam(name = "target", required = true, defaultValue = "") String targetType
|
||||
, @RequestParam(name = "target", defaultValue = "") String targetType
|
||||
, @RequestParam(name = "status", required = false, defaultValue = "N") String targetStatus) {
|
||||
|
||||
DailyUIReqVO reqVO = new DailyUIReqVO(searchMonth, groupNo);
|
||||
|
||||
@@ -12,7 +12,6 @@ import java.util.List;
|
||||
@EqualsAndHashCode
|
||||
public class CreateBankInputReqVO {
|
||||
|
||||
|
||||
// private Boolean status;
|
||||
private Long id;
|
||||
private String transferType;
|
||||
@@ -22,9 +21,4 @@ public class CreateBankInputReqVO {
|
||||
return bankList != null ? bankList : new ArrayList<>();
|
||||
}
|
||||
|
||||
public void setBankList(List<CreateBankInputProductReqVO> bankList) {
|
||||
this.bankList = bankList;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -11,8 +11,6 @@ import java.util.List;
|
||||
@AllArgsConstructor
|
||||
@EqualsAndHashCode
|
||||
public class CreateMonthlyReqVO {
|
||||
|
||||
|
||||
private Boolean status;
|
||||
private Long id;
|
||||
private List<CreateMonthlyProductReqVO> productList;
|
||||
@@ -20,10 +18,4 @@ public class CreateMonthlyReqVO {
|
||||
public List<CreateMonthlyProductReqVO> getProductList() {
|
||||
return productList != null ? productList : new ArrayList<>();
|
||||
}
|
||||
|
||||
public void setProductList(List<CreateMonthlyProductReqVO> productList) {
|
||||
this.productList = productList;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user