From 642175113bf6f2c90894e689dacda50278cad570 Mon Sep 17 00:00:00 2001 From: 杨锴 <841720330@qq.com> Date: 星期四, 19 九月 2024 15:50:11 +0800 Subject: [PATCH] complete most UI & Mock API --- XQMuse/Root/Me/VC/LogoutAccountVC.swift | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/XQMuse/Root/Me/VC/LogoutAccountVC.swift b/XQMuse/Root/Me/VC/LogoutAccountVC.swift index 5516299..2fdc47d 100644 --- a/XQMuse/Root/Me/VC/LogoutAccountVC.swift +++ b/XQMuse/Root/Me/VC/LogoutAccountVC.swift @@ -18,9 +18,11 @@ } @IBAction func completeAction(_ sender: UIButton) { - CommonAlertView.show(title: "提示", content: "已提交注销申请,请耐心等待平台审核", cancelStr: nil, completeStr: "确定", isSingle: true) { _ in - - } + Services.deleteUser().subscribe(onNext: {data in + CommonAlertView.show(title: "提示", content: "已提交注销申请,请耐心等待平台审核", cancelStr: nil, completeStr: "确定", isSingle: true) { _ in + sceneDelegate?.needLogin() + } + }).disposed(by: disposeBag) } override func viewDidLayoutSubviews() { -- Gitblit v1.7.1