-
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.
Browse files
Browse the repository at this point in the history
[FEAT] 이미지 base64 암호화 api
- Loading branch information
Showing
3 changed files
with
37 additions
and
46 deletions.
There are no files selected for viewing
46 changes: 0 additions & 46 deletions
46
src/main/java/com/samtilee/drawdraw/common/controller/ProxyController.java
This file was deleted.
Oops, something went wrong.
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
19 changes: 19 additions & 0 deletions
19
src/main/java/com/samtilee/drawdraw/diary/dto/response/ImageBase64EncodeResponse.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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.samtilee.drawdraw.diary.dto.response; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.Builder; | ||
import lombok.NonNull; | ||
|
||
import static lombok.AccessLevel.PRIVATE; | ||
|
||
@Builder(access = PRIVATE) | ||
public record ImageBase64EncodeResponse( | ||
@NonNull String base64Str | ||
) { | ||
|
||
public static ImageBase64EncodeResponse of(String base64Str) { | ||
return ImageBase64EncodeResponse.builder() | ||
.base64Str(base64Str) | ||
.build(); | ||
} | ||
} |