From 098286ed0313b1d3f1141113b371f8b17b8b26b5 Mon Sep 17 00:00:00 2001 From: 杨锴 <841720330@qq.com> Date: 星期五, 25 十月 2024 21:13:03 +0800 Subject: [PATCH] fix API --- XQMuse/Root/Login/VC/ForgotPasswordChangeVC.swift | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/XQMuse/Root/Login/VC/ForgotPasswordChangeVC.swift b/XQMuse/Root/Login/VC/ForgotPasswordChangeVC.swift index 1d88e8d..d6ff281 100644 --- a/XQMuse/Root/Login/VC/ForgotPasswordChangeVC.swift +++ b/XQMuse/Root/Login/VC/ForgotPasswordChangeVC.swift @@ -65,7 +65,7 @@ guard tf_input.text!.jq_isComplexPassword else {alertError(msg: "密码至少8个字符,不能全是字母或数字");return} Services.updatePwd(cellPhone: phone, password: tf_input.text!, secretCode: secretCode).subscribe(onNext: {data in - if let model = data.data{ + if data.code == 200{ Popup_1_View.show(state: .success, title: "修改成功", subtitle: "您的密码已修改成功,快去登录账户吧") { self.navigationController?.popToRootViewController(animated: true) } -- Gitblit v1.7.1