ㅅㄷㄴㅅ

This commit is contained in:
kubo8
2023-02-10 11:17:48 +09:00
parent 26e60dbb32
commit ee5905c760
2 changed files with 3 additions and 4 deletions

View File

@@ -118,11 +118,10 @@ public class ChannelMgtService {
String callUrl = apiDomain + apiUrlAlTolkTemplet; String callUrl = apiDomain + apiUrlAlTolkTemplet;
jsonObject.put("senderKey", tmpltListReqDto.getSndrprofKey()); jsonObject.put("senderKey", tmpltListReqDto.getSndrprofKey());
jsonObject.put("templateKey", tmpltListReqDto.getTmpltKey()); jsonObject.put("templateKey", tmpltListReqDto.getTmpltKey());
JSONArray array = new JSONArray();
array.add(jsonObject);
try { try {
apiResultMap = (Map<Object, Object>) clientRequestService.callBySyncPost(callUrl, array); apiResultMap = (Map<Object, Object>) clientRequestService.callBySyncPost(callUrl, jsonObject);
logger.info("apiResultMap : {}", apiResultMap); logger.info("apiResultMap : {}", apiResultMap);
if("0000".equals(apiResultMap.get("retCode"))) { if("0000".equals(apiResultMap.get("retCode"))) {
Map<Object, Object> dataMap = (Map<Object, Object>) apiResultMap.get("data"); Map<Object, Object> dataMap = (Map<Object, Object>) apiResultMap.get("data");

View File

@@ -58,7 +58,7 @@ msghubez:
authKey: "bohubez!@#$%" authKey: "bohubez!@#$%"
hubeasy-api: hubeasy-api:
domain: https://api-int.mhez-stg.uplus.co.kr/ domain: https://api-int.mhez-dev.uplus.co.kr/
url: url:
alTolkTemplet: api/v1/kko/template/get alTolkTemplet: api/v1/kko/template/get