Skip to content

Commit

Permalink
Merge pull request #179 from survey-mate/develop
Browse files Browse the repository at this point in the history
수정 사항 배포
  • Loading branch information
mingmingmon authored Feb 18, 2024
2 parents 26ba786 + cd5e8fc commit b993f73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public AuthControllerDTO.MemberResponseDTO join(AuthServiceDTO.MemberDTO dto) {
.EarnPointDTO
.builder()
.description("회원가입 축하 포인트")
.amount(20L)
.amount(100L)
.build();

statementService.earnPoint(member, earnPointDTO);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class SurveyServiceFacadeImpl implements SurveyServiceFacade {
@Transactional
public Survey createSurvey(Member registrant, SurveyCommandServiceDTO.CreateSurveyDTO dto) {
if (!registrant.isStudent()) {
throw new GeneralException(Status.WRONG_REGISTRANT);
throw new GeneralException(Status.NON_STUDENT_REGISTRANT);
}
StatementServiceDTO.PayPointDTO payPointDTO = StatementServiceDTO
.PayPointDTO
Expand Down

0 comments on commit b993f73

Please sign in to comment.