|
|
@@ -872,21 +872,15 @@ public class TsaBusinessController extends TsaBaseController {
|
|
|
@PostMapping("/account/check")
|
|
|
@ResponseBody
|
|
|
public GagaMap getAccountCheck(@RequestBody CustAccount custAccount) {
|
|
|
- custAccount.setIpAddress(TscSession.getIpAddress());
|
|
|
boolean isValid = false;
|
|
|
|
|
|
- String fileEncoding = System.getProperty("file.encoding");
|
|
|
- log.info("fileEncoding ::: {}", fileEncoding);
|
|
|
-
|
|
|
- log.info("custAccount.getAccountNm() ::: {}", custAccount.getAccountNm());
|
|
|
- log.info("custAccount.getBankCd() ::: {}",custAccount.getBankCd());
|
|
|
- log.info("custAccount.getAccountNo() ::: {}",custAccount.getAccountNo());
|
|
|
GagaMap result = coreKcpService.checkAccount(custAccount);
|
|
|
+
|
|
|
if ("0000".equals(result.get("resCd"))) {
|
|
|
isValid = true;
|
|
|
}
|
|
|
|
|
|
- result.set("isValid", isValid);
|
|
|
+ result.setBoolean("isValid", isValid);
|
|
|
return result;
|
|
|
}
|
|
|
}
|