From 637afbbebd8543f45f5eea6b727316eb95683625 Mon Sep 17 00:00:00 2001
From: 无故事王国 <841720330@qq.com>
Date: 星期四, 16 十一月 2023 14:35:19 +0800
Subject: [PATCH] 修复BUG

---
 WanPai/Model/CommonModels.swift |   28 +++++++++++++++-------------
 1 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/WanPai/Model/CommonModels.swift b/WanPai/Model/CommonModels.swift
index ffc3700..bfbaa1a 100644
--- a/WanPai/Model/CommonModels.swift
+++ b/WanPai/Model/CommonModels.swift
@@ -395,19 +395,19 @@
     var weight: Int = 0
 	var bodyStatus = ""
 
-	func save(){
-		UserDefaults.standard.set(self.toJSONString(), forKey: "StartClouseHomeModel")
-		UserDefaults.standard.synchronize()
-	}
-
-	static func get()->StartClouseHomeModel?{
-		if let string = UserDefaults.standard.string(forKey: "StartClouseHomeModel"){
-			return StartClouseHomeModel.deserialize(from: string)
-		}else{
-			return nil
-		}
-
-	}
+//	func save(){
+//		UserDefaults.standard.set(self.toJSONString(), forKey: "StartClouseHomeModel")
+//		UserDefaults.standard.synchronize()
+//	}
+//
+//	static func get()->StartClouseHomeModel?{
+//		if let string = UserDefaults.standard.string(forKey: "StartClouseHomeModel"){
+//			return StartClouseHomeModel.deserialize(from: string)
+//		}else{
+//			return nil
+//		}
+//
+//	}
 }
 
 struct StartClouseListModel:HandyJSON{
@@ -417,6 +417,8 @@
     var remainingNums = 0
     var totalNums = 0
     var periodOfValidity = ""
+	var isAble = 0
+	var id = 0
 }
 
 struct StartClouseVideoListModel:HandyJSON {

--
Gitblit v1.7.1