From f2e891eecfac25bf6aed38c8eadfdf05704b16b6 Mon Sep 17 00:00:00 2001
From: 无故事王国 <841720330@qq.com>
Date: 星期四, 20 六月 2024 18:48:39 +0800
Subject: [PATCH] fix

---
 DolphinEnglishLearnStudent/Moudle/Market/VC/MarketContentVC.swift |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/DolphinEnglishLearnStudent/Moudle/Market/VC/MarketContentVC.swift b/DolphinEnglishLearnStudent/Moudle/Market/VC/MarketContentVC.swift
index 5c3d940..87d84d4 100644
--- a/DolphinEnglishLearnStudent/Moudle/Market/VC/MarketContentVC.swift
+++ b/DolphinEnglishLearnStudent/Moudle/Market/VC/MarketContentVC.swift
@@ -67,8 +67,8 @@
 
 																var info_Array = Array<String>()
 
-																if m.good?.surplus != nil{
-																				info_Array.append("剩余数量:\(m.good?.surplus ?? 0)")
+																if m.residueNumber != nil{
+																				info_Array.append("剩余数量:\(m.residueNumber ?? 0)")
 																}
 
 																if m.good?.userCount != nil{
@@ -113,7 +113,7 @@
 				@IBAction func exchangeAction(_ sender: UIButton) {
 
 
-								guard viewModel.detailModel.value?.good?.surplus != 0 else {
+								guard viewModel.detailModel.value?.residueNumber != 0 else {
 												CommonAlertView.show(isSinple: true, content: "兑换失败,当前剩余数量不足!") {
 
 												}

--
Gitblit v1.7.1