Showing
1 changed file
with
5 additions
and
5 deletions
... | @@ -1194,7 +1194,7 @@ public class swiftApi { | ... | @@ -1194,7 +1194,7 @@ public class swiftApi { |
1194 | private var start_date: String? | 1194 | private var start_date: String? |
1195 | private var end_date: String? | 1195 | private var end_date: String? |
1196 | private var filter: String? // supermarket - free - contest etc | 1196 | private var filter: String? // supermarket - free - contest etc |
1197 | - private var show_expiration: Bool? | 1197 | + private var show_expiration: String? |
1198 | private var coupon_img: String? | 1198 | private var coupon_img: String? |
1199 | 1199 | ||
1200 | public init() { | 1200 | public init() { |
... | @@ -1227,7 +1227,7 @@ public class swiftApi { | ... | @@ -1227,7 +1227,7 @@ public class swiftApi { |
1227 | self.start_date = "" | 1227 | self.start_date = "" |
1228 | self.end_date = "" | 1228 | self.end_date = "" |
1229 | self.filter = "" | 1229 | self.filter = "" |
1230 | - self.show_expiration = false | 1230 | + self.show_expiration = "false" |
1231 | self.coupon_img = "" | 1231 | self.coupon_img = "" |
1232 | } | 1232 | } |
1233 | 1233 | ||
... | @@ -1284,7 +1284,7 @@ public class swiftApi { | ... | @@ -1284,7 +1284,7 @@ public class swiftApi { |
1284 | self.banner_title = extra_fields["Banner_title"] as? String ?? "" | 1284 | self.banner_title = extra_fields["Banner_title"] as? String ?? "" |
1285 | self.category_id = extra_fields["category_id"] as? String ?? "" | 1285 | self.category_id = extra_fields["category_id"] as? String ?? "" |
1286 | self.filter = extra_fields["filter"] as? String ?? "" | 1286 | self.filter = extra_fields["filter"] as? String ?? "" |
1287 | - self.show_expiration = extra_fields["show_expiration"] as? Bool? ?? false | 1287 | + self.show_expiration = extra_fields["show_expiration"] as? String? ?? "false" |
1288 | self.coupon_img = extra_fields["coupon_img"] as? String? ?? "" | 1288 | self.coupon_img = extra_fields["coupon_img"] as? String? ?? "" |
1289 | } else { | 1289 | } else { |
1290 | self.subcategory = "" | 1290 | self.subcategory = "" |
... | @@ -1298,7 +1298,7 @@ public class swiftApi { | ... | @@ -1298,7 +1298,7 @@ public class swiftApi { |
1298 | self.banner_img = "" | 1298 | self.banner_img = "" |
1299 | self.banner_title = "" | 1299 | self.banner_title = "" |
1300 | self.filter = "" | 1300 | self.filter = "" |
1301 | - self.show_expiration = false | 1301 | + self.show_expiration = "false" |
1302 | self.coupon_img = "" | 1302 | self.coupon_img = "" |
1303 | } | 1303 | } |
1304 | 1304 | ||
... | @@ -1564,7 +1564,7 @@ public class swiftApi { | ... | @@ -1564,7 +1564,7 @@ public class swiftApi { |
1564 | } | 1564 | } |
1565 | } | 1565 | } |
1566 | 1566 | ||
1567 | - public var _show_expiration: Bool? { | 1567 | + public var _show_expiration: String? { |
1568 | get { // getter | 1568 | get { // getter |
1569 | return self.show_expiration | 1569 | return self.show_expiration |
1570 | } | 1570 | } | ... | ... |
-
Please register or login to post a comment