Skip to content

Commit

Permalink
feat: comment for user(2)
Browse files Browse the repository at this point in the history
  • Loading branch information
in-seo committed Feb 11, 2023
1 parent 7b9b7ec commit 47cc38a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/univcert/api/UnivCert.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

/**
* https://univcert.com 메일 및 λŒ€ν•™ 인증 API.
* κ°œλ°œμžλΆ„μ€ ν•΄λ‹Ή μ‚¬μ΄νŠΈμ—μ„œ API ν‚€ λ°œκΈ‰ ν›„ μ‚¬μš© ν•˜μ‹œλ©΄ λ©λ‹ˆλ‹€. (10초 미만 μ†Œμš”)
* κ°œλ°œμžλΆ„μ€ ν•΄λ‹Ή μ‚¬μ΄νŠΈμ—μ„œ API ν‚€ λ°œκΈ‰ ν›„ μ‚¬μš© ν•˜μ‹œλ©΄ λ©λ‹ˆλ‹€.
* https://github.com/in-seo/univcert 에 μžμ„Έν•œ λ‚΄μš© 있고,
* 잘 μ‚¬μš©ν•˜μ…¨λ‹€λ©΄ μŠ€νƒ€ ν•œλ²ˆ λˆŒλŸ¬μ£Όμ‹œλ©΄ 큰 힘이 λ©λ‹ˆλ‹€ ! 많이 퍼뜨렀 μ£Όμ„Έμš” κ°μ‚¬ν•©λ‹ˆλ‹€ :)
*
* 도움이 λ˜μ…¨λ‹€λ©΄ μŠ€νƒ€ ν•œλ²ˆ λˆŒλŸ¬μ£Όμ‹œλ©΄ 큰 힘이 λ©λ‹ˆλ‹€. 많이 퍼뜨렀 μ£Όμ„Έμš” κ°μ‚¬ν•©λ‹ˆλ‹€ :)
*/
public class UnivCert {
/** λͺ¨λ“  λ°˜ν™˜ 값은 Map<String, Object>둜 λ“œλ¦½λ‹ˆλ‹€. λ°˜ν™˜ 값을 .get("success") 와 같은 λ©”μ„œλ“œλ‘œ 뽑아 μ“°μ‹œλ©΄ λ©λ‹ˆλ‹€. */
private static final String baseURL = "https://univcert.com:8080/api";
private static final OkHttpClient client = new OkHttpClient();
private static final JSONParser parser = new JSONParser();
Expand Down Expand Up @@ -128,7 +128,7 @@ private static Map<String, Object> parseHTMLToJSON(Response responseHTML) {
}
catch(Exception e){
System.out.println("json 였λ₯˜");
return map; /** 빈 맡 */
return map; /** 였λ₯˜ μ‹œ 빈 맡 */
}
return map;
}
Expand Down

0 comments on commit 47cc38a

Please sign in to comment.