From a1ac0f1634ff0bd8f04259fc4cf7ebabd8c8c82d Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期二, 10 十月 2023 16:40:52 +0800 Subject: [PATCH] 修复BUG --- WanPai/Model/CommonModels.swift | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/WanPai/Model/CommonModels.swift b/WanPai/Model/CommonModels.swift index e76c9c4..b311777 100644 --- a/WanPai/Model/CommonModels.swift +++ b/WanPai/Model/CommonModels.swift @@ -68,6 +68,7 @@ var weeks = [String]() var type:CourseType = .normal var time = "" + var isVip = 0 //是否是会员:1:是 0:否 } struct CourseDetailListModel:HandyJSON { @@ -77,7 +78,7 @@ var paymentPrice:Double = 0 var payType: PaymentType = .cash var playPaiCoin:Int? - var vipPrice:Double? + var vipPrice:Double = 0 } struct CourseDetailStudentModel:HandyJSON { @@ -272,6 +273,7 @@ var wanpaiGold:Int = 0 var weekTime: String = "" var vipPrice:Double = 0 + var detailDrawing = "" } struct SiteItemModel:HandyJSON{ @@ -405,6 +407,11 @@ var noticeId = 0 var noticeTitle = "" var noticeTime = "" + + var quesId = 0 + var quesTitle = "" + var quesContents = "" + var quesTime = "" } struct SearchStoreDetailModel:HandyJSON{ -- Gitblit v1.7.1