From 9add6fe63070124dea74f596e646eaae2f52ef17 Mon Sep 17 00:00:00 2001
From: younger_times <841720330@qq.com>
Date: 星期一, 31 七月 2023 15:15:29 +0800
Subject: [PATCH] 新增

---
 WanPai/Root/Course/VC/CourseDetailApplyVC.swift |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/WanPai/Root/Course/VC/CourseDetailApplyVC.swift b/WanPai/Root/Course/VC/CourseDetailApplyVC.swift
index b7fc863..1d04498 100644
--- a/WanPai/Root/Course/VC/CourseDetailApplyVC.swift
+++ b/WanPai/Root/Course/VC/CourseDetailApplyVC.swift
@@ -140,10 +140,9 @@
                                                     let vc = PaymentResultVC(result: .success, objType: .courseApply)
                                                     self?.present(vc, animated: true)
                                                 case .cancel:
-                                                    let vc = PaymentResultVC(result: .fail, objType: .courseApply)
-                                                    self?.present(vc, animated: true)
+                                                    alert(msg: "已取消")
                                                 case .failure(let error):
-                                                    let vc = PaymentResultVC(result: .fail, objType: .courseApply)
+													let vc = PaymentResultVC(result: .fail(error.localizedDescription), objType: .courseApply)
                                                     self?.present(vc, animated: true)
                                             }
                                         }

--
Gitblit v1.7.1