has been completed.

This commit is contained in:
xyz
2025-09-09 15:37:57 +08:00
parent 83f3f4f74e
commit 89ff4fbac0
38 changed files with 2679 additions and 161 deletions

View File

@ -368,8 +368,12 @@ void SelfInfoWidget::clickGetVerifyCodeBtn()
//给服务器发送请求
DataCenter* dataCenter = DataCenter::getInstance();
connect(dataCenter, &DataCenter::getVerifyCodeDone, this, [=]() {
connect(dataCenter, &DataCenter::getVerifyCodeDone, this, [=](bool ok) {
//不需要做其他的处理,只需要提示一下,验证码已经发送出去了
if (!ok) {
return;
}
LOG() << "ok: " << ok;
Toast::showMessage("验证码已发送,请注意查收");
});
dataCenter->getVerifyCodeAsync(email);