From 152da0e2d8cd3bd522fb04d1114f0930c33c9fdf Mon Sep 17 00:00:00 2001
From: 无故事王国 <841720330@qq.com>
Date: 星期四, 26 十月 2023 17:19:30 +0800
Subject: [PATCH] 修复BUG

---
 WanPai/Model/CommonModels.swift |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/WanPai/Model/CommonModels.swift b/WanPai/Model/CommonModels.swift
index 791a53f..3029eed 100644
--- a/WanPai/Model/CommonModels.swift
+++ b/WanPai/Model/CommonModels.swift
@@ -528,7 +528,7 @@
     var detailsType:DetailType = .positive //1扣减 2增加
 }
 
-struct CouponModel:HandyJSON{
+class CouponModel:HandyJSON{
     var available: String = ""
     var cityOrStore: String = ""
     var effectiveTime: String = ""
@@ -539,6 +539,10 @@
     var type:CouponType = .discount
     var useCondition: CouponConditionType = .nationwide
     var useStatus: CouponUseType = .overdue
+
+	var showAll = false
+
+	required init(){}
 }
 
 struct CouponModelRuleModel:HandyJSON{
@@ -657,7 +661,7 @@
     var coverImage: String = ""
     var integral:Int = 0
     var packageName: String = ""
-    var studyStatus: Int = 0
+    var studyStatus: Int = 1
     var synopsis: String = ""
     var videoId: Int = 0
     var videoName: String = ""

--
Gitblit v1.7.1