登录注册修改密码,网络请求

This commit is contained in:
2026-05-14 14:59:45 +08:00
parent 14d1969903
commit 652e10ec62
12 changed files with 455 additions and 229 deletions

View File

@@ -15,3 +15,30 @@ data class LoginBean(
val token: String,
val userId: Int
)
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
)