Skip to content

Commit

Permalink
HotFix: 카카오메시지 형식 수정 완료 (#164)
Browse files Browse the repository at this point in the history
* fix: 수수료 변경

* fix: 카카오메시지 형식 수정
  • Loading branch information
GitJIHO authored Nov 5, 2024
1 parent 2a9fb26 commit 28d8040
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void sendPointChargeRequestReceivedMessage(String email, int point, Strin
"\"object_type\": \"feed\"," +
"\"content\": {" +
"\"title\": \"%s님의 포인트 충전 요청 접수\"," +
"\"description\": \"충전까지 최대 2~3영업일이 소요됩니다.\"," +
"\"description\": \"입금 금액을 입금해주시기 바랍니다.\"," +
"\"image_url\": \"%s\"," +
"\"image_width\": 640," +
"\"image_height\": 640," +
Expand All @@ -56,7 +56,11 @@ public void sendPointChargeRequestReceivedMessage(String email, int point, Strin
"}," +
"\"item_content\": {" +
"\"items\": [" +
"{\"item\": \"충전 요청\", \"item_op\": \"%d points\"}" +
"{\"item\": \"충전 요청\", \"item_op\": \"%d points\"}," +
"{\"item\": \"입금 금액\", \"item_op\": \"%d 원\"}," +
"{\"item\": \"은행\", \"item_op\": \"시니또 은행\"}," +
"{\"item\": \"계좌번호\", \"item_op\": \"3333-11-225533\"}," +
"{\"item\": \"성명\", \"item_op\": \"시니또 매니저\"}" +
"]" +
"}," +
"\"buttons\": [" +
Expand All @@ -69,7 +73,7 @@ public void sendPointChargeRequestReceivedMessage(String email, int point, Strin
"}" +
"]" +
"}",
name, SINITTO_IMAGE_URL, kakaoProperties.frontUri(), kakaoProperties.frontUri(), point,
name, SINITTO_IMAGE_URL, kakaoProperties.frontUri(), kakaoProperties.frontUri(), point, point,
kakaoProperties.frontUri(), kakaoProperties.frontUri()
);

Expand Down Expand Up @@ -98,7 +102,7 @@ public void sendPointChargeCompleteMessage(String email, int point, String name)
"{" +
"\"object_type\": \"feed\"," +
"\"content\": {" +
"\"title\": \"%s님의 포인트 충전이 완료\"," +
"\"title\": \"%s님의 포인트 충전 완료\"," +
"\"description\": \"서비스를 이용해주셔서 감사합니다.\"," +
"\"image_url\": \"%s\"," +
"\"image_width\": 640," +
Expand Down Expand Up @@ -180,7 +184,7 @@ public void sendPointWithdrawRequestReceivedMessage(String email, int point, Str
"}" +
"]" +
"}",
name, SINITTO_IMAGE_URL, kakaoProperties.frontUri(), kakaoProperties.frontUri(), point, point * 0.95,
name, SINITTO_IMAGE_URL, kakaoProperties.frontUri(), kakaoProperties.frontUri(), point, point * 0.8,
bankName, accountNumber, name, kakaoProperties.frontUri(), kakaoProperties.frontUri()
);

Expand Down Expand Up @@ -238,7 +242,7 @@ public void sendPointWithdrawCompleteMessage(String email, int point, String nam
"}" +
"]" +
"}",
name, SINITTO_IMAGE_URL, kakaoProperties.frontUri(), kakaoProperties.frontUri(), point, point * 0.95,
name, SINITTO_IMAGE_URL, kakaoProperties.frontUri(), kakaoProperties.frontUri(), point, point * 0.8,
bankName, accountNumber, name, kakaoProperties.frontUri(), kakaoProperties.frontUri()
);

Expand Down

0 comments on commit 28d8040

Please sign in to comment.