|
@@ -17,7 +17,7 @@ class LoginRequest(
|
|
|
@JsonClass(generateAdapter = true)
|
|
|
data class LoginResponse(
|
|
|
@Json(name = "code")
|
|
|
- val resultCode: String,
|
|
|
+ val resultCode: Int,
|
|
|
@Json(name = "message")
|
|
|
val message: LoginMessage,
|
|
|
@Json(name = "data")
|
|
@@ -297,8 +297,8 @@ data class ResultSummary(
|
|
|
data class LoginMessage(
|
|
|
@Json(name = "code")
|
|
|
val code: String,
|
|
|
- @Json(name = "descriptions")
|
|
|
- val description: String,
|
|
|
+ @Json(name = "description")
|
|
|
+ val description: String = "NA",
|
|
|
)
|
|
|
|
|
|
@JsonClass(generateAdapter = true)
|
|
@@ -379,10 +379,11 @@ data class LottoSet(
|
|
|
|
|
|
@JsonClass(generateAdapter = true)
|
|
|
data class User(
|
|
|
- @Json(name = "user_name")
|
|
|
- val userName: String,
|
|
|
@Json(name = "_id")
|
|
|
val id: String,
|
|
|
+ @Json(name = "user_name")
|
|
|
+ val userName: String,
|
|
|
+
|
|
|
|
|
|
// @Json(name = "role")
|
|
|
// val roles: String,
|