260720_01_ENH: 오타 수정

This commit is contained in:
2026-07-20 11:20:51 +09:00
parent 107b6b5c9c
commit a3425b16e0

View File

@@ -14,7 +14,7 @@ public class PringoJsonSendResponseDto {
private String typeAlias; private String typeAlias;
/** /**
* 성공: 1 실패: "-1" (API가 숫자/문자 둘 다 줄 수 있으니 String으로 받는 편이 안전) * Success: 1, failure: -1. Keep String because the API can return numeric or string values.
*/ */
@JsonProperty("result") @JsonProperty("result")
private String result; private String result;
@@ -23,12 +23,12 @@ public class PringoJsonSendResponseDto {
private String msg; private String msg;
/** /**
* 응답 JSON 오타 그대로 "retrun_key" * Pringo send response key. Accepts the legacy misspelled key for compatibility.
*/ */
@JsonProperty("retrun_key") @JsonProperty("return_key")
private Long returnKey; private Long returnKey;
public boolean isSuccess() { public boolean isSuccess() {
return "1".equals(result); return "1".equals(result);
} }
} }