-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from billbill-project/feature/borrowPosts
회원가입, 로그인 로직 수정
- Loading branch information
Showing
8 changed files
with
47 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,10 @@ | |
|
||
@Data | ||
public class LoginRequest { | ||
@Schema(description = "전화번호", example = "010-0000-0001") | ||
private String phoneNumber; | ||
// @Schema(description = "전화번호", example = "010-0000-0001") | ||
// private String phoneNumber; | ||
@Schema(description = "이메일", example = "[email protected]") | ||
private String email; | ||
@Schema(description = "비밀번호", example = "password") | ||
private String password; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,16 +7,18 @@ | |
public class SignupRequest { | ||
@Schema(description = "회원 프로필 이미지 URL", example = "profile image url") | ||
private String profileImage; | ||
@Schema(description = "이메일", example = "[email protected]") | ||
private String email; | ||
@Schema(description = "회원 닉네임", example = "nickname") | ||
private String nickname; | ||
@Schema(description = "비밀번호", example = "password") | ||
private String password; | ||
@Schema(description = "회원 본인인증 정보") | ||
private IdentityRequest identity; | ||
// @Schema(description = "회원 본인인증 정보") | ||
// private IdentityRequest identity; | ||
@Schema(description = "각종 약관 동의") | ||
private AgreeRequest agree; | ||
@Schema(description = "위치 정보") | ||
private LocationRequest location; | ||
// @Schema(description = "위치 정보") | ||
// private LocationRequest location; | ||
@Schema(description = "디바이스 정보") | ||
private DeviceRequest device; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/main/java/site/billbill/apiserver/repository/user/UserDslRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
package site.billbill.apiserver.repository.user; | ||
|
||
import site.billbill.apiserver.api.users.dto.request.ProfileRequest; | ||
import site.billbill.apiserver.model.user.UserJpaEntity; | ||
|
||
import java.util.Optional; | ||
|
||
public interface UserDslRepository { | ||
void withdrawUserById(String userId); | ||
|
||
void updateProfileById(String userId, ProfileRequest request); | ||
|
||
Optional<UserJpaEntity> findByEmailWithoutWithdraw(String email); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters