260720_01_ENH: 오타 수정
This commit is contained in:
@@ -14,7 +14,7 @@ public class PringoJsonSendResponseDto {
|
||||
private String typeAlias;
|
||||
|
||||
/**
|
||||
* 성공: 1 실패: "-1" (API가 숫자/문자 둘 다 줄 수 있으니 String으로 받는 편이 안전)
|
||||
* Success: 1, failure: -1. Keep String because the API can return numeric or string values.
|
||||
*/
|
||||
@JsonProperty("result")
|
||||
private String result;
|
||||
@@ -23,12 +23,12 @@ public class PringoJsonSendResponseDto {
|
||||
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;
|
||||
|
||||
public boolean isSuccess() {
|
||||
return "1".equals(result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user