이지우 - nice 기업 조회 key 값 인증 오류 수정

This commit is contained in:
JIWOO 2025-02-12 10:13:50 +09:00
parent 9636b09034
commit cb366be67a

View File

@ -49,8 +49,9 @@ public class Nice {
String pwd = ApplicationProperty.get("nice.pwd");
String s = uid + getCryptoMD5String(pwd)+ new SimpleDateFormat("yyyyMMdd").format(new Date());
//JAVA POST 전송시 UTF-8로 인코딩하면 APIKEY 인증오류남
//String apikey = URLEncoder.encode( getCryptoMD5String(s) ,"UTF-8");
String apikey = getCryptoMD5String(s);
//250210 - key값에 + 포함 오류 발생으로 인하여 다시 인코딩 처리
String apikey = URLEncoder.encode( getCryptoMD5String(s) ,"UTF-8");
//String apikey = getCryptoMD5String(s);
return apikey;
}