반려 팝업

This commit is contained in:
kubo8
2023-02-10 10:51:09 +09:00
parent 84b044271f
commit 4eb6df27e9

View File

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