fix: 카카오 키 설정 및 문서 코드 설정 변경

main
kjh 2 months ago
parent 11eb6238fa
commit cdb45a3e03

@ -380,7 +380,7 @@ public class KkoTalkApiService {
HttpHeaders headers = new HttpHeaders(); HttpHeaders headers = new HttpHeaders();
headers.setContentType(new MediaType(MediaType.APPLICATION_JSON, Charset.forName("utf-8"))); headers.setContentType(new MediaType(MediaType.APPLICATION_JSON, Charset.forName("utf-8")));
headers.set(HttpHeaders.AUTHORIZATION, String.format("KakaoAK %s", orgMng.getKakaoDealerRestApiKey())); headers.set(HttpHeaders.AUTHORIZATION, String.format("KakaoAK %s", orgMng.getKakaoDealerRestApiKey()));
headers.set("Target-Authorization", orgMng.getKakaoPartnerRestApiKey()); headers.set("Target-Authorization", String.format("KakaoAK %s", orgMng.getKakaoPartnerRestApiKey()));
headers.set("settle-Id", IS_PROFILE_LOCAL ? orgMng.getKakaoDevSettleId() : orgMng.getKakaoProdSettleId()); headers.set("settle-Id", IS_PROFILE_LOCAL ? orgMng.getKakaoDevSettleId() : orgMng.getKakaoProdSettleId());
return headers; return headers;

@ -65,5 +65,5 @@ contract:
kakao: kakao:
talk: talk:
host: https://test-edoc-gw.kakao.com host: https://test-edoc-gw.kakao.com
send: /v1/envelopes/{PRODUCT_CODE}T;POST send: /v1/envelopes/{PRODUCT_CODE};POST
bulksend: /v1/bulk/envelopes/{PRODUCT_CODE}T;POST bulksend: /v1/bulk/envelopes/{PRODUCT_CODE};POST

Loading…
Cancel
Save