PageSourceSearch

https://idolbom.go.kr/front/res/js/common-rest.js

js idolbom.go.kr collected 2026-10-01 12:08:23 UTC 1,417 bytes, 48 lines download raw bytes

1// data : {bankCd : "", accntNo : ""}
2function certificateActno(data) {
3    var flag = false;
4    var dpstrNm = "";
5    var resultMsg = "";
6
7    startLoading();
8    $.ajax({
9        url: '/rest/common/checkDpstrNm',
10        data: JSON.stringify(data),
11        method: 'post',
12        async: false,
13        success: function(res) {
14			if (res.data && res.data.resultCd == '000') {
15				if(res.data.chkEnNm == true) {
16					var dpstrNmChk = res.data.dpstrNm.length > 4 ? res.data.dpstrNm.slice(0,4) : res.data.dpstrNm;
17					var nmChk = data.nm.length > 4 ? data.nm.slice(0,4) : data.nm;
18					if(dpstrNmChk != nmChk) {
19						flag = false;
20						resultMsg = '가입자 본인명의의 계좌만 등록하실수있습니다.';
21					} else {
22						resultMsg = res.data.resultMsg;
23						dpstrNm = res.data.dpstrNm;
24		            	flag = true;
25					}
26				} else {
27					resultMsg = res.data.resultMsg;
28					dpstrNm = res.data.dpstrNm;
29	            	flag = true;
30				}
31			} else {
32				resultMsg = res.data.resultMsg + '(' + res.data.resultCd + ')';
33				dpstrNm = res.data.dpstrNm;
34            	flag = true;
35			}
36        }, error: function (err) {
37            flag = false;
38            resultMsg = '예금주 조회 중 오류가 발생하였습니다. 잠시후에 다시 시도해 주세요.';
39        }
40    });
41    stopLoading();
42
43    return {
44        flag: flag,
45        dpstrNm: dpstrNm,
46        resultMsg: resultMsg,
47    }
48}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.