操作密码

This commit is contained in:
2026-05-22 15:51:13 +08:00
parent d066886b66
commit edbe5629fd
28 changed files with 942 additions and 190 deletions

View File

@@ -17,6 +17,7 @@ import com.example.defenseapplication.bean.SwitchFamilyRequest
import com.example.defenseapplication.bean.UpdatePassword
import com.example.defenseapplication.bean.UpdateUserInfo
import com.example.defenseapplication.bean.UserInfoBean
import com.example.defenseapplication.bean.VerifyOptionPasswordRequest
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST
@@ -156,6 +157,11 @@ interface ApiService {
@POST("/app/retrievePassword")
suspend fun retrievePassword(@Body request: ForgotRequest): GetCodeBean<ForgotRequest>
/**
* 校验操作密码
*/
@POST("/app/verifyOptionPassword")
suspend fun verifyOptionPassword(@Body request: VerifyOptionPasswordRequest): GetCodeBean<Any>