Skip to content

Commit

Permalink
#59 fix: 휴대폰 번호 전송 번호 변경 및 스웨거 휴대폰 번호 전송 양식 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
chaerlo127 committed Jan 6, 2024
1 parent d4b2d66 commit 7406c91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 1 addition & 5 deletions src/main/kotlin/com/psr/psr/user/dto/request/SendSmsReq.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ import jakarta.validation.constraints.Pattern


data class SendSmsReq (
@field:Pattern(
regexp = "^01([0|1|6|7|8|9])-?([0-9]{3,4})-?([0-9]{4})\$",
message = "올바르지 않은 휴대폰 형식입니다."
)
@field:NotBlank
@Schema(type = "String", description = "휴대폰", example = "010-0000-0000", required = true)
@Schema(type = "String", description = "휴대폰", example = "01000000000", required = true)
val phone: String
)
8 changes: 4 additions & 4 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ eid:
naver:
cloud:
sms:
access-key: ENC(wp/Alr5Jw3X4q5EW4A2aMUi036jtB3Aw9UEsxZAV558=)
secret-key: ENC(pRkZE02CAl3N1tlLUIVynJxo15w3TCKRKsuEyYhecYAhvWIhPhsSiKYz2PWnIemiVJ7Sv/nqkWQ=)
serviceId: ENC(tUjWV+I6v72Or1Aleyl4HErV9CAcee0NX49TwmKrPkbsml4PxL6dqQ==)
send-phone: ENC(ljeJinEcvm3ULVIAZP8D2nr1tjRuMsoH)
access-key: ENC(zjEjrY5/JsH1bUundGSsuQ8W9OL5gbp4y7JbnUebQo8=)
secret-key: ENC(QS1ogRTUMC7tb1ZjleWlfaq1YuRmNfyNO94wbSuPXxEk4Eiayg+AhlpaubPNjjkIZPKQch+zYww=)
serviceId: ENC(id/wfOp2l+sIem4dBPwjHb9ma+os8If2Yf9pQvn6eJIyZwAkzq2bYQ==)
send-phone: ENC(4BV7f36IyQC2eHb6Z3+P6rwFeBuZAweR)

springdoc:
swagger-ui:
Expand Down

0 comments on commit 7406c91

Please sign in to comment.