Files
SecurityDefenseDevice/app/src/main/java/com/example/defenseapplication/bean/LoginBean.kt
2026-05-21 17:54:49 +08:00

39 lines
971 B
Kotlin

package bean
data class LoginBean(
val access_token: String,
val client_id: String,
val expire_in: Int,
val openid: Any,
val refresh_expire_in: Any,
val refresh_token: Any,
val role: String,
val scope: Any
)
data class LoginRequest(
val clientId: String = "428a8310cd442757ae699df5d894f051",
val grantType: String,
val username: String? = null,
val phonenumber: String? = null,
val smsCode: String? = null,
val password: String? = null,
val userType: String = "app_user"
)
data class RegisterRequest(
val clientId: String = "428a8310cd442757ae699df5d894f051",
val grantType: String,
val smsCode: String? = null,
val username: String,
val password: String,
val userType: String = "app_user",
val idCard: String,
val inviteCode: String? = null,
val faceAddr: String
)
data class ForgotRequest(
val phonenumber: String,
val smsCode: String,
val password: String
)