puzhibing
2026-07-24 a0bc9aaf968a81eba1321008be66d62c702e8fc3
XWProject/Class/Login/Controller/ForgotPasswordVC.swift
@@ -110,13 +110,13 @@
             }
             */
            DispatchQueue.main.async { [self] in
                let recaptcha = RecaptchaVisual(
                    viewController: self, siteKey: WEB_SITE_KEY, baseUrl: URL(string: WEB_BASE_URL)!)
                recaptcha.runCaptcha { (token: String?, error: Error?) in
                    guard let token = token  else {return}
                    self.viewModel.token.accept(token)
//                let recaptcha = RecaptchaVisual(
//                    viewController: self, siteKey: WEB_SITE_KEY, baseUrl: URL(string: WEB_BASE_URL)!)
//                recaptcha.runCaptcha { (token: String?, error: Error?) in
//                    guard let token = token  else {return}
//                    self.viewModel.token.accept(token)
                    self.viewModel.sendSMSCode(type: 4, kaptcha: "")
                }
//                }
            }
        }).disposed(by: disposeBag)