From 63f7ed967433acee3ae8764c7a077e15c29c41f2 Mon Sep 17 00:00:00 2001
From: 杨锴 <841720330@qq.com>
Date: 星期三, 06 十一月 2024 21:17:19 +0800
Subject: [PATCH] fix bug

---
 XQMuse/Root/Home/VC/PaymentOrderVC.swift |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/XQMuse/Root/Home/VC/PaymentOrderVC.swift b/XQMuse/Root/Home/VC/PaymentOrderVC.swift
index 7275c78..e3c880a 100644
--- a/XQMuse/Root/Home/VC/PaymentOrderVC.swift
+++ b/XQMuse/Root/Home/VC/PaymentOrderVC.swift
@@ -74,8 +74,8 @@
                     self.image_cover.sd_setImage(with: URL(string: m.coverUrl.jq_urlEncoded()))
                     self.label_courseName.text = m.courseTitle
                     self.label_price.text = "愈疗币\(m.iosPrice.jq_formatFloat)"
-                    self.label_teacher.text = "导师\(m.tutor)"
-                    self.label_paymentCount.text = "x\(m.count)"
+                    self.label_teacher.text = "导师 \(m.tutor)"
+                    self.label_paymentCount.text = "x\(m.count == 0 ? 1:m.count)"
                     self.label_orderPrice.text = "愈疗币\(m.iosPrice.jq_formatFloat)"
                     self.label_totalPrice.text = "愈疗币\(m.iosPrice.jq_formatFloat)"
                 }

--
Gitblit v1.7.1