diff --git a/src/main/java/uk/jinhy/survey_mate_api/auth/application/service/AuthService.java b/src/main/java/uk/jinhy/survey_mate_api/auth/application/service/AuthService.java index 6b3e70a..eab79be 100644 --- a/src/main/java/uk/jinhy/survey_mate_api/auth/application/service/AuthService.java +++ b/src/main/java/uk/jinhy/survey_mate_api/auth/application/service/AuthService.java @@ -86,7 +86,7 @@ public AuthControllerDTO.MemberResponseDTO join(AuthServiceDTO.MemberDTO dto) { .EarnPointDTO .builder() .description("회원가입 축하 포인트") - .amount(20L) + .amount(100L) .build(); statementService.earnPoint(member, earnPointDTO); diff --git a/src/main/java/uk/jinhy/survey_mate_api/auth/domain/entity/Member.java b/src/main/java/uk/jinhy/survey_mate_api/auth/domain/entity/Member.java index be060c5..29c97ae 100644 --- a/src/main/java/uk/jinhy/survey_mate_api/auth/domain/entity/Member.java +++ b/src/main/java/uk/jinhy/survey_mate_api/auth/domain/entity/Member.java @@ -105,7 +105,7 @@ public void setIsStudent(boolean isStudent) { } public void setIsStudent(String emailAddress) { - if (emailAddress.matches(".*\\.(ac\\.kr|edu)$")) { + if (emailAddress.matches(".*\\.(ac\\.kr|edu)$") || emailAddress.matches(".*@(ewhain\\.net)")) { this.setIsStudent(true); } else { this.setIsStudent(false);