18034727885
2026-04-07 da6e059a41cb4f221659c4d60bf8967def724822
app/src/main/java/com/igo/user/ui/mine/ModifyPhoneActivity.kt
@@ -40,7 +40,7 @@
    private val et_phone by lazy { find<EditText>(R.id.et_phone) }
    private val et_code by lazy { find<EditText>(R.id.et_code) }
    private val viewModel: MainActivityViewModel by viewModels()
    private lateinit var recaptcha: RecaptchaVisual
//    private lateinit var recaptcha: RecaptchaVisual
    private val countDownTimer = object : CountDownTimer(60 * 1000, 1000) {
        override fun onFinish() {
            tv_get_code.text = getString(R.string.重新获取)
@@ -129,7 +129,7 @@
        lifecycleScope.launch {
            try {
                val token = recaptcha.runCaptcha().await()
                val token = ""
                viewModel.onLoginButtonClicked(token)
                HttpManager.sendSms(phone, "", 1,token).request(
@@ -165,7 +165,7 @@
    override fun initView() {
        title = getString(R.string.修改手机号)
        recaptcha = RecaptchaVisual(supportFragmentManager, WEB_SITE_KEY, BASE_URL)
//        recaptcha = RecaptchaVisual(supportFragmentManager, WEB_SITE_KEY, BASE_URL)
    }
    override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {