|
|
@ -59,6 +59,7 @@ public class Requestor {
|
|
|
|
* @param intfInfo 세외수입 연계정보
|
|
|
|
* @param intfInfo 세외수입 연계정보
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void request(InterfaceInfo<?, ?> intfInfo) {
|
|
|
|
public void request(InterfaceInfo<?, ?> intfInfo) {
|
|
|
|
|
|
|
|
if (!InterfaceConfig.sendRequest()) return;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
init();
|
|
|
|
init();
|
|
|
|
|
|
|
|
|
|
|
@ -80,10 +81,7 @@ public class Requestor {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
String body = hresp.body();
|
|
|
|
String body = hresp.body();
|
|
|
|
Log.get(Requestor.class).debug("targetMessage:\n{}", body);
|
|
|
|
Log.get(Requestor.class).debug("targetMessage:\n{}", body);
|
|
|
|
/*
|
|
|
|
|
|
|
|
if (WebClient.Request.SUCCESS != hresp.statusCode())
|
|
|
|
|
|
|
|
throw new RuntimeException(intfInfo.interfaceID() + ": " + hresp.statusCode());
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
intfInfo
|
|
|
|
intfInfo
|
|
|
|
.json(json)
|
|
|
|
.json(json)
|
|
|
|
.parseTargetMessage(body);
|
|
|
|
.parseTargetMessage(body);
|
|
|
|