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