南鑫林 5 年之前
父節點
當前提交
9170ab4e67
共有 70 個文件被更改,包括 79 次插入76 次删除
  1. 2 2
      RainbowPlanet/RainbowPlanet/Base/BaseViewController/BaseViewController.swift
  2. 1 1
      RainbowPlanet/RainbowPlanet/Model/UserModel/UserModel.swift
  3. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/Banner/CommunityBannerFSPagerViewCell.swift
  4. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/CardContent/Comment/CardContentCommnetTableViewCell.swift
  5. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/CardContent/PicVideo/CardContentPicVideoCollectionViewCell.swift
  6. 1 0
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/CardContent/PicVideo/CardContentPicVideoTableViewCell.swift
  7. 2 2
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/CardContent/User/CardContentUserTableViewCell.swift
  8. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/FeaturedTopics/FeaturedTopicsCollectionViewCell.swift
  9. 2 2
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/FollowStatus/CommunityFollowStatusTableViewCell.swift
  10. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/PopularVideo/PopularVideoCollectionViewCell.swift
  11. 2 2
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/RecommendFollow/CommunityRecommendFollowCollectionViewCell.swift
  12. 2 0
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Main/CommunityViewController.swift
  13. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Recommend/CommunityRecommnendViewController.swift
  14. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityFeaturedTopics/ViewController/CommunityFeaturedTopicsViewController.swift
  15. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/Controller/CommunityRecommendController.swift
  16. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/AllCommentCell/RecommendMajorCommentCell.swift
  17. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/AllCommentCell/RecommendSubCommentTableViewCell.swift
  18. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/CommunityPostDetailFSPagerViewCell.swift
  19. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/HTMLCell/CommunityRecommendDetailHTMLTableViewCell.swift
  20. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/RecommendNoneCommentCell.swift
  21. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityShareActivity/CommunityShareActivityViewController.swift
  22. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunitySubComment/View/CommunityMajorCommentCell.swift
  23. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunitySubComment/View/CommunityReplyCommentCell.swift
  24. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoContent/View/CommunityVideoCoverCollectionCell.swift
  25. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoContent/View/CommunityVideoMajorCommentCell.swift
  26. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessageList/View/MessageListTableCell.swift
  27. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessagePlanetActivity/View/MessageActivityTableCell.swift
  28. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MineModule/PersonalCenter/OtherPersonalCenter/ViewController/OtherPersonalCenterViewController.swift
  29. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MineModule/PersonalCenter/PersonalCenterView/PersonViewUserAndOtherHeaderView.swift
  30. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MineModule/PersonalCenter/PersonalCenterView/PersonViewUserAndOtherListCollectionViewCell.swift
  31. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MineModule/PersonalCenter/UserPersonalCenter/ViewController/UserPersonalCenterViewController.swift
  32. 1 1
      RainbowPlanet/RainbowPlanet/Modules/OrderModule/Order/View/OrderProductTableViewCell.swift
  33. 1 1
      RainbowPlanet/RainbowPlanet/Modules/OrderModule/OrderApplyRefund/View/OrderApplyRefundProductCell.swift
  34. 1 1
      RainbowPlanet/RainbowPlanet/Modules/OrderModule/OrderComment/View/OrderCommentAddImgCollectionCell.swift
  35. 1 1
      RainbowPlanet/RainbowPlanet/Modules/OrderModule/OrderComment/View/OrderCommentTableViewCell.swift
  36. 1 1
      RainbowPlanet/RainbowPlanet/Modules/OrderModule/OrderDetail/View/OrderDetailProductTableViewCell.swift
  37. 1 1
      RainbowPlanet/RainbowPlanet/Modules/OrderModule/OrderPayOrder/View/ShoppingCartPayOrderItemCell.swift
  38. 1 1
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishAddTopic/View/PublishTopicTypeItemCollectionCell.swift
  39. 1 1
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishEdit/View/PublishEditAddImgCollectionCell.swift
  40. 1 1
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishMediaPicker/View/KSMediaPickerPreviewView.swift
  41. 1 1
      RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/Banner/RedemptionAreaFSPagerViewCell.swift
  42. 1 1
      RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/FloorCell/RedemptionAreaProductCollectionViewCell.swift
  43. 1 1
      RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/FloorHeader/FloorHeaderViewFloorHeaderView.swift
  44. 1 1
      RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/SpecialCell/SpecialOneTypeCollectionViewCell.swift
  45. 1 1
      RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/SpecialCell/SpecialTwoTypeCollectionViewCell.swift
  46. 1 1
      RainbowPlanet/RainbowPlanet/Modules/RegisterLoginModule/TopicSelection/View/TopicSelectionCollectionViewCell.swift
  47. 1 1
      RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchContentList/View/SearchContentListCollectionCell.swift
  48. 1 1
      RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchTopicList/View/SearchTopicListTableViewCell.swift
  49. 4 4
      RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchUser/View/SearchUserLitTableViewCell.swift
  50. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductAllComment/View/ProductDetailEvaluationImageCollectionViewCell.swift
  51. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductAllComment/View/ProductDetailEvaluationListTableViewCell.swift
  52. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductDetail/View/Cell/ProductDetailEvaluation/ProductDetailEvaluationTableViewCell.swift
  53. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductDetail/View/Cell/ProductDetailProductLabel/ProductDetailProductLabelIconCollectionViewCell.swift
  54. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductDetail/View/Cell/ProductDetailShop/ProductDetailShopTableViewCell.swift
  55. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductDetail/View/ProductDetailHeader/ProductDetailFSPagerViewCell.swift
  56. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductDetail/View/ProductDetailSkuView/ProductDetailSkuView.swift
  57. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/CollectionViewCell/ProductDetailHotSell/ProductDetailHotSellCollectionViewCell.swift
  58. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/CollectionViewCell/ProductMallBarChart/ProductMallBarChartCollectionViewCell.swift
  59. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/CollectionViewCell/ProductMallRightSideleftPicture/ProductRightSideleftPictureCollectionViewCell.swift
  60. 2 2
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/CollectionViewCell/ProductMallSlidingLeftRight/ProductSlidingLeftRightCollectionViewCell.swift
  61. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/CollectionViewCell/ProductSlidingTopBottom/ProductSlidingTopBottomCollectionViewCell.swift
  62. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/TableViewCell/ProductHBigTableViewCell.swift
  63. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/TableViewCell/ProductHSmallTableViewCell.swift
  64. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/Shop/View/ShopViewShopInfoTableViewCell.swift
  65. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ShoppingCart/View/ShoppingCartList/ShoppingCartListTableViewCell.swift
  66. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ShoppingMall/View/ShoppingMallBanner/ShoppingMallBannerFSPagerViewCell.swift
  67. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ShoppingMall/View/ShoppingMallCategory/ShoppingMallCategoryCollectionViewCell.swift
  68. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ShoppingMall/View/ShoppingMallSepcial/ShoppingMallSepcialCollectionViewCell.swift
  69. 1 1
      RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/Special/View/SpecialBannerView.swift
  70. 1 1
      RainbowPlanet/RainbowPlanet/Tools/BrowsePictures/ViewController/BrowsePicturesViewController.swift

+ 2 - 2
RainbowPlanet/RainbowPlanet/Base/BaseViewController/BaseViewController.swift

@@ -17,8 +17,8 @@ class BaseViewController: UIViewController {
     lazy var navigationBar = WRCustomNavigationBar.CustomNavigationBar()
     
     deinit {
-        KingfisherManager.shared.cache.clearDiskCache()
-        KingfisherManager.shared.cache.clearMemoryCache()
+//        KingfisherManager.shared.cache.clearDiskCache()
+//        KingfisherManager.shared.cache.clearMemoryCache()
     }
 
     override func viewDidLoad() {

+ 1 - 1
RainbowPlanet/RainbowPlanet/Model/UserModel/UserModel.swift

@@ -170,7 +170,7 @@ public class UserModel : NSObject, NSCoding, Mappable{
         UserDefaults.standard.removeObject(forKey: "UserModel")
         MessageIndexModel.shared.removeObject()
         //清除缓存
-        KingfisherManager.shared.cache.clearMemoryCache()
+        //KingfisherManager.shared.cache.clearMemoryCache()
         KingfisherManager.shared.cache.clearDiskCache()
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/Banner/CommunityBannerFSPagerViewCell.swift

@@ -57,7 +57,7 @@ class CommunityBannerFSPagerViewCell: FSPagerViewCell {
     var communityRecommendTypeDataModel : CommunityRecommendTypeDataModel? {
         didSet {
             bgImageView.kf.setImage(with: kURLThumbnailsImage(name: communityRecommendTypeDataModel?.image ?? "",size: self.size), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/CardContent/Comment/CardContentCommnetTableViewCell.swift

@@ -61,7 +61,7 @@ class CardContentCommnetTableViewCell: UITableViewCell {
     private lazy var avatarButton: UIButton = {
         let avatarButton = UIButton()
         avatarButton.kf.setImage(with: kURLImage(name: UserModel.shared().getModel()?.avatarurl ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-        KingfisherManager.shared.cache.clearMemoryCache()
+        //KingfisherManager.shared.cache.clearMemoryCache()
 
         avatarButton.cornerRadius = 14
         avatarButton.masksToBounds = true

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/CardContent/PicVideo/CardContentPicVideoCollectionViewCell.swift

@@ -69,7 +69,7 @@ class CardContentPicVideoCollectionViewCell: UICollectionViewCell {
         didSet {
             let imageResource = ImageResource(downloadURL: kURLThumbnailsImage(name: imgStr ?? "",size: self.size)!)
             iconImageView.kf.setImage(with: imageResource, placeholder: kImage(name: "default_pic"))
-           KingfisherManager.shared.cache.clearMemoryCache()
+           //KingfisherManager.shared.cache.clearMemoryCache()
         }
     }
     

+ 1 - 0
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/CardContent/PicVideo/CardContentPicVideoTableViewCell.swift

@@ -208,6 +208,7 @@ extension CardContentPicVideoTableViewCell: UICollectionViewDelegateFlowLayout,U
         return cell
     }
     
+    
     func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
         
     }

+ 2 - 2
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/CardContent/User/CardContentUserTableViewCell.swift

@@ -159,7 +159,7 @@ class CardContentUserTableViewCell: UITableViewCell {
     var communityRecommendDataModel: CommunityRecommendDataModel? {
         didSet {
             avatarButton.kf.setImage(with: kURLImage(name: communityRecommendDataModel?.avatar ?? ""), for: UIControl.State.normal , placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleButton.setTitle(communityRecommendDataModel?.username, for: UIControl.State.normal)
             timeLabel.text = communityRecommendDataModel?.createdAt
             if communityRecommendDataModel?.uid == UserModel.shared().getModel()?.uid {
@@ -176,7 +176,7 @@ class CardContentUserTableViewCell: UITableViewCell {
         didSet {
             avatarButton.kf.setImage(with: kURLImage(name: communityFollowDataModel?.relateData?.avatar ?? ""), for: UIControl.State.normal , placeholder: kImage(name: "default_avatar"))
             
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleButton.setTitle(communityFollowDataModel?.relateData?.username, for: UIControl.State.normal)
             timeLabel.text = communityFollowDataModel?.relateData?.createdAt
             

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/FeaturedTopics/FeaturedTopicsCollectionViewCell.swift

@@ -99,7 +99,7 @@ class FeaturedTopicsCollectionViewCell: UICollectionViewCell {
     var communityRecommendTypeDataModel : CommunityRecommendTypeDataModel? {
         didSet {
             picImageView.kf.setImage(with: kURLThumbnailsImage(name: communityRecommendTypeDataModel?.img ?? "",size: CGSize(width: self.width, height: 130)), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
 
             topicLabel.text = communityRecommendTypeDataModel?.name

+ 2 - 2
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/FollowStatus/CommunityFollowStatusTableViewCell.swift

@@ -300,7 +300,7 @@ class CommunityFollowStatusTableViewCell: UITableViewCell {
     var communityFollowDataModel : CommunityFollowDataModel? {
         didSet {
             avatarButton.kf.setImage(with: kURLImage(name: communityFollowDataModel?.followAvatar ?? ""), for: UIControl.State.normal , placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
             titleButton.setTitle(communityFollowDataModel?.followUsername, for: UIControl.State.normal)
             skittlesTitleLabel.text = "收获 \(communityFollowDataModel?.content?.beans ?? 0) U米"
@@ -317,7 +317,7 @@ class CommunityFollowStatusTableViewCell: UITableViewCell {
             case .follow?:
                 timeStatusLabel.text = "\(communityFollowDataModel?.createdAt ?? "") 关注了"
                 avatarOtherButton.kf.setImage(with: kURLImage(name: communityFollowDataModel?.relateData?.avatar ?? ""), for: UIControl.State.normal , placeholder: kImage(name: "default_avatar"))
-                KingfisherManager.shared.cache.clearMemoryCache()
+                //KingfisherManager.shared.cache.clearMemoryCache()
 
                 titleOtherButton.setTitle(communityFollowDataModel?.relateData?.username, for: UIControl.State.normal)
                 if communityFollowDataModel?.relateData?.uid == UserModel.shared().getModel()?.uid {

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/PopularVideo/PopularVideoCollectionViewCell.swift

@@ -86,7 +86,7 @@ class PopularVideoCollectionViewCell: UICollectionViewCell {
         didSet {
             picImageView.kf.setImage(with: kURLThumbnailsImage(name: communityRecommendTypeDataModel?.img ?? "",size: self.size), placeholder: kImage(name: "default_pic"))
             avatarImageView.kf.setImage(with: kURLImage(name: communityRecommendTypeDataModel?.avatar ?? ""), placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
             nameLabel.text = communityRecommendTypeDataModel?.userName
         }

+ 2 - 2
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/RecommendFollow/CommunityRecommendFollowCollectionViewCell.swift

@@ -127,7 +127,7 @@ class CommunityRecommendFollowCollectionViewCell: UICollectionViewCell {
     var communityRecommendTypeDataModel : CommunityRecommendTypeDataModel? {
         didSet {
             avatarButton.kf.setImage(with: kURLImage(name: communityRecommendTypeDataModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
            
 
@@ -151,7 +151,7 @@ class CommunityRecommendFollowCollectionViewCell: UICollectionViewCell {
     var cmsMemberModel : CMSMemberModel? {
         didSet {
             avatarButton.kf.setImage(with: kURLImage(name: cmsMemberModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
 
             titleButton.setTitle(cmsMemberModel?.username, for: UIControl.State.normal)

+ 2 - 0
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Main/CommunityViewController.swift

@@ -27,6 +27,8 @@ class CommunityViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
+        KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearMemoryCache()
     }
     
     deinit {

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Recommend/CommunityRecommnendViewController.swift

@@ -175,7 +175,7 @@ class CommunityRecommnendViewController: UIViewController {
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
         KingfisherManager.shared.cache.clearDiskCache()
-        KingfisherManager.shared.cache.clearMemoryCache()
+        //KingfisherManager.shared.cache.clearMemoryCache()
     }
     
 }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityFeaturedTopics/ViewController/CommunityFeaturedTopicsViewController.swift

@@ -306,7 +306,7 @@ extension CommunityFeaturedTopicsViewController {
             self?.topicLable.text = self?.communityTopicDetailModel?.name
             CommunityFollowTopicViewModel.shared.followTopicButton(communityTopicDetailModel: self?.communityTopicDetailModel, button: (self?.focusButton)!)
             self?.bgImageView.kf.setImage(with: kURLImage(name: self?.communityTopicDetailModel?.img ?? ""), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
             self?.navigationBar.barBackgroundImage = self?.bgImageView.image
             self?.communityFeaturedTopicsHeaderView.communityTopicDetailModel = self?.communityTopicDetailModel

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/Controller/CommunityRecommendController.swift

@@ -358,7 +358,7 @@ extension CommunityRecommendController {
 
             self?.communityPostsApi(page:1)
             self?.avatarButton.kf.setImage(with: kURLImage(name: self?.communityPostDetailModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             self?.nameButton.setTitle(self?.communityPostDetailModel?.username, for: UIControl.State.normal)
             if self?.communityPostDetailModel?.uid == UserModel.shared().getModel()?.uid {
                 self?.followButton.alpha = 0

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/AllCommentCell/RecommendMajorCommentCell.swift

@@ -167,7 +167,7 @@ class RecommendMajorCommentCell: UITableViewCell {
     var communityPostCommentModel : CommunityPostCommentModel? {
         didSet {
             iconButton.kf.setImage(with: kURLImage(name: communityPostCommentModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = communityPostCommentModel?.username
             contentLabel.text = communityPostCommentModel?.content
             timeLabel.text = communityPostCommentModel?.createdAt

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/AllCommentCell/RecommendSubCommentTableViewCell.swift

@@ -123,7 +123,7 @@ class RecommendSubCommentTableViewCell: UITableViewCell {
     var communityPostReplyModel: CommunityPostReplyModel? {
         didSet {
             iconButton.kf.setImage(with: kURLImage(name: communityPostReplyModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
             
             titleLabel.text = communityPostReplyModel?.username

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/CommunityPostDetailFSPagerViewCell.swift

@@ -57,7 +57,7 @@ class CommunityPostDetailFSPagerViewCell: FSPagerViewCell {
     var img : String? {
         didSet {
             bgImageView.kf.setImage(with: kURLThumbnailsPadImage(name: img ?? "", size: self.size), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/HTMLCell/CommunityRecommendDetailHTMLTableViewCell.swift

@@ -274,7 +274,7 @@ class CommunityRecommendDetailHTMLTableViewCell: UITableViewCell {
         didSet {
             
             avatarButton.kf.setImage(with: kURLImage(name: communityPostDetailModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             nameButton.setTitle(communityPostDetailModel?.username, for: UIControl.State.normal)
             CommunityFollowUserViewModel.setFollowListType(followButton: followButton, followType: FollowType(rawValue: communityPostDetailModel?.isFollow ?? 0) ?? .futureFollow)
             beanLabel.text = "\(communityPostDetailModel?.availableBean ?? 0) U米待收获"

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/RecommendNoneCommentCell.swift

@@ -158,7 +158,7 @@ class RecommendNoneCommentCell: UITableViewCell {
     var communityPostDetailModel : CommunityPostDetailModel? {
         didSet {
             iconButton.kf.setImage(with: kURLImage(name: UserModel.shared().getModel()?.avatarurl ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
         }
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityShareActivity/CommunityShareActivityViewController.swift

@@ -74,7 +74,7 @@ extension CommunityShareActivityViewController {
         SwiftMoyaNetWorkServiceConfig.shared().configPosterInviteApi {
              [weak self] (data) -> (Void) in
             self?.bgImageView.kf.setImage(with: kURLImage(name: (data as! String)), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             self?.shareCommunityContentView.imageUrl = (data as! String)
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunitySubComment/View/CommunityMajorCommentCell.swift

@@ -112,7 +112,7 @@ class CommunityMajorCommentCell: UITableViewCell {
     var communityPostCommentModel : CommunityPostCommentModel? {
         didSet {
             iconButton.kf.setImage(with: kURLImage(name: communityPostCommentModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = communityPostCommentModel?.username
             contentLabel.text = communityPostCommentModel?.content
             timeLabel.text = communityPostCommentModel?.createdAt

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunitySubComment/View/CommunityReplyCommentCell.swift

@@ -118,7 +118,7 @@ class CommunityReplyCommentCell: UITableViewCell {
     var communityPostReplyModel: CommunityPostReplyModel? {
         didSet {
             iconButton.kf.setImage(with: kURLImage(name: communityPostReplyModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             
             titleLabel.text = communityPostReplyModel?.username
             

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoContent/View/CommunityVideoCoverCollectionCell.swift

@@ -856,7 +856,7 @@ class CommunityVideoCoverCollectionCell: UICollectionViewCell {
             beanLabel.text = "\(self.videoItemMdl?.willCollectBean ?? 0) U米待收获"
             
             avatarButton.kf.setImage(with: kURLImage(name: self.videoItemMdl?.avatar ?? ""), for: .normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
             if self.videoItemMdl?.username?.count ?? 0 <= 12 {
                 personLabel.text = self.videoItemMdl?.username

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoContent/View/CommunityVideoMajorCommentCell.swift

@@ -167,7 +167,7 @@ class CommunityVideoMajorCommentCell: UITableViewCell {
     var communityPostCommentModel : CommunityPostCommentModel? {
         didSet {
             iconButton.kf.setImage(with: kURLImage(name: communityPostCommentModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = communityPostCommentModel?.username
             contentLabel.text = communityPostCommentModel?.content
             timeLabel.text = communityPostCommentModel?.createdAt

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessageList/View/MessageListTableCell.swift

@@ -198,7 +198,7 @@ class MessageListTableCell: UITableViewCell {
             }
             timeLabel.text = messageDataModel?.createdAt
             contentImageView.kf.setImage(with: kURLThumbnailsImage(name: messageDataModel?.param?.cover ?? "", size: kSize120x120Image), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessagePlanetActivity/View/MessageActivityTableCell.swift

@@ -145,7 +145,7 @@ class MessageActivityTableCell: UITableViewCell {
             subLabel.text = "活动时间:\(messageDataModel?.param?.activityTime ?? "")"
             titleLabel.text = messageDataModel?.param?.title
             actImageView.kf.setImage(with: kURLThumbnailsImage(name: messageDataModel?.param?.cover ?? "", size: self.size), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
             if messageDataModel?.param?.activityTime == nil || messageDataModel?.param?.activityTime == "" {
                 titleLabel.snp.remakeConstraints { (make) in

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/MineModule/PersonalCenter/OtherPersonalCenter/ViewController/OtherPersonalCenterViewController.swift

@@ -192,7 +192,7 @@ extension OtherPersonalCenterViewController {
             self?.otherHeaderView.userDetailModel = self?.userDetailModel
             self?.navigationBar.backgroundImageView.kf.setImage(with: kURLImage(name: self?.userDetailModel?.backgroundImg ?? "default_pic"), placeholder: kImage(name: "default_pic"))
             self?.avatarButton.kf.setImage(with: kURLImage(name: self?.userDetailModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
             self?.nameButton.setTitle(self?.userDetailModel?.username, for: UIControl.State.normal)
             self?.cmsTemplateTitles = ["发布 \(self?.userDetailModel?.postCount ?? "0")","收藏 \(self?.userDetailModel?.collectCount ?? "0")","分享 \(self?.userDetailModel?.shareCount ?? "0")"]

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/MineModule/PersonalCenter/PersonalCenterView/PersonViewUserAndOtherHeaderView.swift

@@ -243,7 +243,7 @@ class PersonViewUserAndOtherHeaderView: BaseView {
             followNumberButton.setTitle("\(userDetailModel?.followCount ?? "0") 关注", for: UIControl.State.normal)
             fanNumberButton.setTitle("\(userDetailModel?.fansCount ?? "0") 粉丝", for: UIControl.State.normal)
             avatarButton.kf.setBackgroundImage(with: kURLImage(name: userDetailModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
 
         }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/MineModule/PersonalCenter/PersonalCenterView/PersonViewUserAndOtherListCollectionViewCell.swift

@@ -111,7 +111,7 @@ class PersonViewUserAndOtherListCollectionViewCell: UICollectionViewCell {
         didSet {
             iconImageView.kf.setImage(with: kURLThumbnailsImage(name: postMyModel?.img ?? "", size: self.size), placeholder: kImage(name: "default_pic"))
             
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             rainbowBeanNumberLabel.text = "\(postMyModel?.collectBean ?? 0)"
             if PostMyModelType(rawValue: postMyModel?.type ?? "") == .video {
                 videoImageView.isHidden = false

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/MineModule/PersonalCenter/UserPersonalCenter/ViewController/UserPersonalCenterViewController.swift

@@ -310,7 +310,7 @@ extension UserPersonalCenterViewController {
             self?.userHeaderView.userDetailModel = self?.userDetailModel
             self?.navigationBar.backgroundImageView.kf.setImage(with: kURLThumbnailsImage(name: self?.userDetailModel?.backgroundImg ?? "default_pic", size: (self?.navigationBar.backgroundImageView.size)!), placeholder: kImage(name: "default_pic"))
             self?.avatarButton.kf.setImage(with: kURLImage(name: self?.userDetailModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             self?.nameButton.setTitle(self?.userDetailModel?.username, for: UIControl.State.normal)
             self?.cmsTemplateTitles = ["发布 \(self?.userDetailModel?.postCount ?? "0")","收藏 \(self?.userDetailModel?.collectCount ?? "0")","分享 \(self?.userDetailModel?.shareCount ?? "0")"]
             self?.reloadData()

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/OrderModule/Order/View/OrderProductTableViewCell.swift

@@ -138,7 +138,7 @@ class OrderProductTableViewCell: UITableViewCell {
     var orderModelDetailModel: OrderModelDetailModel? {
         didSet {
             productImageView.kf.setImage(with: kURLImage(name: orderModelDetailModel?.productImg ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = orderModelDetailModel?.productName
             timeLabel.text = "预计配送时间:\(orderModelDetailModel?.receiveTime ?? "")"
             skuLabel.text = "规格:\(orderModelDetailModel?.skuName ?? "")"

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/OrderModule/OrderApplyRefund/View/OrderApplyRefundProductCell.swift

@@ -172,7 +172,7 @@ class OrderApplyRefundProductCell: UITableViewCell {
             selectBtn.isSelected = selStatus
             
             productImageView.kf.setImage(with: kURLImage(name: orderModelDetailModel?.productImg ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = orderModelDetailModel?.productName
             timeLabel.text = "预计配送时间:\(orderModelDetailModel?.receiveTime ?? "")"
             skuLabel.text = "规格:\(orderModelDetailModel?.skuName ?? "")"

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/OrderModule/OrderComment/View/OrderCommentAddImgCollectionCell.swift

@@ -25,7 +25,7 @@ class OrderCommentAddImgCollectionCell: UICollectionViewCell {
     var productSearchModel: ProductSearchModel? {
         didSet {
             picImageView.kf.setImage(with: kURLImage(name: productSearchModel?.img ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
         }
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/OrderModule/OrderComment/View/OrderCommentTableViewCell.swift

@@ -40,7 +40,7 @@ class OrderCommentTableViewCell: UITableViewCell {
         didSet {
             // 商品图片
             iconImageView.kf.setImage(with: kURLImage(name: orderModelDetailModel?.productImg ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             starView.value = CGFloat(self.orderModelDetailModel?.starValue ?? 5)
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/OrderModule/OrderDetail/View/OrderDetailProductTableViewCell.swift

@@ -139,7 +139,7 @@ class OrderDetailProductTableViewCell: UITableViewCell {
     var orderModelDetailModel: OrderModelDetailModel? {
         didSet {
             productImageView.kf.setImage(with: kURLThumbnailsImage(name: orderModelDetailModel?.productImg ?? "default_pic", size: kSize92x92Image), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = orderModelDetailModel?.productName
             timeLabel.text = "预计配送时间:\(orderModelDetailModel?.receiveTime ?? "")"
             skuLabel.text = "规格:\(orderModelDetailModel?.skuName ?? "")"

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/OrderModule/OrderPayOrder/View/ShoppingCartPayOrderItemCell.swift

@@ -15,7 +15,7 @@ class ShoppingCartPayOrderItemCell: UITableViewCell {
         didSet {
             // 商品图片
             iconImageView.kf.setImage(with: kURLImage(name: productMdl?.productImg ?? ""), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             // 商品名称
             titleLabel.text = productMdl?.productName
             // 预计配送时间

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishAddTopic/View/PublishTopicTypeItemCollectionCell.swift

@@ -18,7 +18,7 @@ class PublishTopicTypeItemCollectionCell: UICollectionViewCell {
         didSet {
             titleLabel.text = self.topicModel?.name
             picImageView.kf.setImage(with: kURLThumbnailsImage(name: self.topicModel?.img ?? "", size: self.size), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishEdit/View/PublishEditAddImgCollectionCell.swift

@@ -35,7 +35,7 @@ class PublishEditAddImgCollectionCell: UICollectionViewCell {
     var productSearchModel: ProductSearchModel? {
         didSet {
             picImageView.kf.setImage(with: kURLThumbnailsImage(name: productSearchModel?.img ?? "default_pic", size: self.size), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishMediaPicker/View/KSMediaPickerPreviewView.swift

@@ -363,7 +363,7 @@ open class KSMediaPickerPreviewView: UIView {
                 setNeedsLayout()
                 PHImageManager.default().requestImage(for: asset, targetSize: mainSize, contentMode: .aspectFit, options: KSMediaPickerItemModel.pictureOptions) {[weak self] (image, info) in
                     self?._scrollview.imageView.image = image
-                    KingfisherManager.shared.cache.clearMemoryCache()
+                    //KingfisherManager.shared.cache.clearMemoryCache()
 
                 }
             }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/Banner/RedemptionAreaFSPagerViewCell.swift

@@ -58,7 +58,7 @@ class RedemptionAreaFSPagerViewCell: FSPagerViewCell {
     var cmsRedemptionAreaRule : CMSRedemptionAreaRule? {
         didSet {
             bgImageView.kf.setImage(with: kURLThumbnailsImage(name: cmsRedemptionAreaRule?.url ?? "default_pic", size: self.size), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/FloorCell/RedemptionAreaProductCollectionViewCell.swift

@@ -131,7 +131,7 @@ class RedemptionAreaProductCollectionViewCell: UICollectionViewCell {
     var cmsRedemptionAreaRule : CMSRedemptionAreaRule? {
         didSet {
             iconImageView.kf.setImage(with: kURLThumbnailsImage(name: cmsRedemptionAreaRule?.img ?? "", size: CGSize(width: self.width, height: (kScreenWidth-15)/2)), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = cmsRedemptionAreaRule?.saleName
             detatileTitleLabel.text = cmsRedemptionAreaRule?.subtitle
             beanLabel.text = "\(cmsRedemptionAreaRule?.price ?? 0)"

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/FloorHeader/FloorHeaderViewFloorHeaderView.swift

@@ -39,7 +39,7 @@ class FloorHeaderViewFloorHeaderView: BaseView {
     var cmsRedemptionAreaContent : CMSRedemptionAreaContent? {
         didSet {
             imageView.kf.setImage(with: kURLThumbnailsImage(name: cmsRedemptionAreaContent?.floorImg ?? "", size: CGSize(width: self.width-28, height: 78*kScaleWidth)), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/SpecialCell/SpecialOneTypeCollectionViewCell.swift

@@ -59,7 +59,7 @@ class SpecialOneTypeCollectionViewCell: UICollectionViewCell {
     var cmsRedemptionAreaRule : CMSRedemptionAreaRule? {
         didSet {
             iconImageView.kf.setImage(with: kURLThumbnailsImage(name: cmsRedemptionAreaRule?.url ?? "", size: self.size), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/SpecialCell/SpecialTwoTypeCollectionViewCell.swift

@@ -58,7 +58,7 @@ class SpecialTwoTypeCollectionViewCell: UICollectionViewCell {
     var cmsRedemptionAreaRule : CMSRedemptionAreaRule? {
         didSet {
             iconImageView.kf.setImage(with: kURLImage(name: cmsRedemptionAreaRule?.url ?? ""), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
         }
     }
 }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/RegisterLoginModule/TopicSelection/View/TopicSelectionCollectionViewCell.swift

@@ -88,7 +88,7 @@ class TopicSelectionCollectionViewCell: UICollectionViewCell {
     var communityTopicModel: CommunityTopicModel? {
         didSet {
             iconImageView.kf.setImage(with: kURLThumbnailsImage(name: communityTopicModel?.img ?? "",size: self.size), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
             titleLabel.text = communityTopicModel?.name
             selectionButton.isSelected = communityTopicModel?.isSelected ?? false

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchContentList/View/SearchContentListCollectionCell.swift

@@ -233,7 +233,7 @@ class SearchContentListCollectionCell: UICollectionViewCell {
                 titleLabel.text = "\(communityPostDataModel?.title?.replacingOccurrences(of: "\n", with: "").replacingOccurrences(of: "\r", with: "").prefix(20) ?? "")"
             }
             avatarButton.kf.setImage(with: kURLImage(name: communityPostDataModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             nameButton.text = communityPostDataModel?.username
 
             likeLabel.text = "\(communityPostDataModel?.praiseCount ?? 0)"

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchTopicList/View/SearchTopicListTableViewCell.swift

@@ -118,7 +118,7 @@ class SearchTopicListTableViewCell: UITableViewCell {
     var communityTopicDataModel: CommunityTopicDataModel? {
         didSet {
             iconButton.kf.setImage(with: kURLThumbnailsImage(name: communityTopicDataModel?.img ?? "",size: kSize70x70Image), for: UIControl.State.normal, placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
             titleLabel.text = communityTopicDataModel?.name
             subtitleLabel.text = "\(communityTopicDataModel?.followCount ?? "0")人参与"

+ 4 - 4
RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchUser/View/SearchUserLitTableViewCell.swift

@@ -146,7 +146,7 @@ class SearchUserLitTableViewCell: UITableViewCell {
             CommunityFollowUserViewModel.setFollowListType(followButton: followButton, followType: FollowType(rawValue: userFollowModel?.isFollowStatus ?? 0))
 
             avatarButton.kf.setImage(with: kURLImage(name: userFollowModel?.followAvatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleButton.setTitle(userFollowModel?.followUsername, for: UIControl.State.normal)
             var followTopic = Array<String>()
             if !(userFollowModel?.followTopic?.isEmpty ?? true) {
@@ -169,7 +169,7 @@ class SearchUserLitTableViewCell: UITableViewCell {
             CommunityFollowUserViewModel.setFollowListType(followButton: followButton, followType: FollowType(rawValue: userFanModel?.isFollowStatus ?? 0))
 
             avatarButton.kf.setImage(with: kURLImage(name: userFanModel?.fanAvatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleButton.setTitle(userFanModel?.fanUsername, for: UIControl.State.normal)
             var followTopic = Array<String>()
             if !(userFanModel?.fanTopic?.isEmpty ?? true) {
@@ -192,7 +192,7 @@ class SearchUserLitTableViewCell: UITableViewCell {
             CommunityFollowUserViewModel.setFollowListType(followButton: followButton, followType: FollowType(rawValue: cmsMemberModel?.followStatus ?? 0))
 
             avatarButton.kf.setImage(with: kURLImage(name: cmsMemberModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleButton.setTitle(cmsMemberModel?.username, for: UIControl.State.normal)
             var followTopic = Array<String>()
             if !(cmsMemberModel?.followTopic?.isEmpty ?? true) {
@@ -216,7 +216,7 @@ class SearchUserLitTableViewCell: UITableViewCell {
             CommunityFollowUserViewModel.setFollowListType(followButton: followButton, followType: FollowType(rawValue: searchMemberModel?.followStatus ?? 0))
 
             avatarButton.kf.setImage(with: kURLImage(name: searchMemberModel?.avatar ?? ""), for: UIControl.State.normal, placeholder: kImage(name: "default_avatar"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
             titleButton.setTitle(searchMemberModel?.username, for: UIControl.State.normal)
             var followTopic = Array<String>()

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductAllComment/View/ProductDetailEvaluationImageCollectionViewCell.swift

@@ -14,7 +14,7 @@ class ProductDetailEvaluationImageCollectionViewCell: UICollectionViewCell {
     var imageUrl: String? {
         didSet {
             iconImageView.kf.setImage(with: kURLImage(name: imageUrl ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
         }
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductAllComment/View/ProductDetailEvaluationListTableViewCell.swift

@@ -161,7 +161,7 @@ class ProductDetailEvaluationListTableViewCell: UITableViewCell {
     var productCommentModel: ProductCommentModel? {
         didSet {
             avatarImagView.kf.setImage(with: kURLImage(name: productCommentModel?.avatar ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             nameLabel.text = productCommentModel?.username
             timeLabel.text = productCommentModel?.createdAt
             let attributeString = NSMutableAttributedString(string:productCommentModel?.content ?? "")

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductDetail/View/Cell/ProductDetailEvaluation/ProductDetailEvaluationTableViewCell.swift

@@ -112,7 +112,7 @@ class ProductDetailEvaluationTableViewCell: UITableViewCell {
     var productCommentModel : ProductCommentModel? {
         didSet {
             avatarImageView.kf.setImage(with: kURLImage(name: productCommentModel?.avatar ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             nickNameLabel.text = productCommentModel?.username
             let attributeString = NSMutableAttributedString(string:productCommentModel?.content ?? "")
             attributeString.changeAllLineSpacing(2)

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductDetail/View/Cell/ProductDetailProductLabel/ProductDetailProductLabelIconCollectionViewCell.swift

@@ -67,7 +67,7 @@ class ProductDetailProductLabelIconCollectionViewCell: UICollectionViewCell {
     var label : ProductDetailLabelModel? {
         didSet {
             iconImageView.kf.setImage(with: kURLImage(name: label?.img ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = label?.name
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductDetail/View/Cell/ProductDetailShop/ProductDetailShopTableViewCell.swift

@@ -107,7 +107,7 @@ class ProductDetailShopTableViewCell: UITableViewCell {
     var productDetailModel : ProductDetailModel? {
         didSet {
             shopImageView.kf.setImage(with: kURLImage(name: productDetailModel?.logoImg ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             shopNameLabel.text = productDetailModel?.shopName
             
         }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductDetail/View/ProductDetailHeader/ProductDetailFSPagerViewCell.swift

@@ -57,7 +57,7 @@ class ProductDetailFSPagerViewCell: FSPagerViewCell {
     var imageNames: Array<String>?{
         didSet {
             productImageView.kf.setImage(with: kURLImage(name: imageNames?[index ?? 0] ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
         }
     }
 }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductDetail/View/ProductDetailSkuView/ProductDetailSkuView.swift

@@ -355,7 +355,7 @@ class ProductDetailSkuView: FWPopupView {
         didSet {
             productImageView.kf.setImage(with: kURLImage(name: productDetailModel?.img ?? "default_pic")
                 , placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             if productDetailModel?.limitNumber ?? 0 <= 0 {
                 limitLabel.isHidden = true
             }else {

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/CollectionViewCell/ProductDetailHotSell/ProductDetailHotSellCollectionViewCell.swift

@@ -150,7 +150,7 @@ class ProductDetailHotSellCollectionViewCell: UICollectionViewCell {
     var productSearchModel : ProductSearchModel? {
         didSet {
             iconImagView.kf.setImage(with: kURLImage(name: productSearchModel?.img ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = productSearchModel?.saleName
             detailTitleLabel.text = productSearchModel?.subtitle
             sellPriceLabel.text = priceConversion(price: productSearchModel?.price ?? 0)

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/CollectionViewCell/ProductMallBarChart/ProductMallBarChartCollectionViewCell.swift

@@ -175,7 +175,7 @@ class ProductMallBarChartCollectionViewCell: UICollectionViewCell {
     var productModel : ProductModel? {
         didSet {
             iconImagView.kf.setImage(with: kURLImage(name: productModel?.bigImg ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = productModel?.saleName
             detailTitleLabel.text = productModel?.subtitle
             sellNumberLabel.text = "已售\(productModel?.totalCount ?? 0)件"

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/CollectionViewCell/ProductMallRightSideleftPicture/ProductRightSideleftPictureCollectionViewCell.swift

@@ -154,7 +154,7 @@ class ProductRightSideleftPictureCollectionViewCell: UICollectionViewCell {
     var productModel : ProductModel? {
         didSet {
             iconImagView.kf.setImage(with: kURLThumbnailsImage(name: productModel?.img ?? "default_pic", size: kSize120x120Image), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = productModel?.saleName
             detailTitleLabel.text = productModel?.subtitle
             sellNumberLabel.text = "已售\(productModel?.totalCount ?? 0)件"

+ 2 - 2
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/CollectionViewCell/ProductMallSlidingLeftRight/ProductSlidingLeftRightCollectionViewCell.swift

@@ -145,7 +145,7 @@ class ProductSlidingLeftRightCollectionViewCell: UICollectionViewCell {
     var productModel : ProductModel? {
         didSet {
             iconImagView.kf.setImage(with: kURLImage(name: productModel?.img ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = productModel?.saleName
             detailTitleLabel.text = productModel?.subtitle
             sellPriceLabel.text = priceConversion(price: productModel?.price ?? 0)
@@ -160,7 +160,7 @@ class ProductSlidingLeftRightCollectionViewCell: UICollectionViewCell {
     var productSearchModel : ProductSearchModel? {
         didSet {
             iconImagView.kf.setImage(with: kURLImage(name: productSearchModel?.img ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = productSearchModel?.saleName
             detailTitleLabel.text = productSearchModel?.subtitle
             sellPriceLabel.text = priceConversion(price: productSearchModel?.price ?? 0)

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/CollectionViewCell/ProductSlidingTopBottom/ProductSlidingTopBottomCollectionViewCell.swift

@@ -144,7 +144,7 @@ class ProductSlidingTopBottomCollectionViewCell: UICollectionViewCell {
     var productSearchModel: ProductSearchModel? {
         didSet {
             iconImagView.kf.setImage(with: kURLImage(name: productSearchModel?.img ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = productSearchModel?.saleName
             sellNumberLabel.text = "已售\(productSearchModel?.totalCount ?? 0)件"
             sellPriceLabel.text = priceConversion(price: productSearchModel?.price ?? 0)

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/TableViewCell/ProductHBigTableViewCell.swift

@@ -161,7 +161,7 @@ class ProductHBigTableViewCell: UITableViewCell {
     var productSearchModel: ProductSearchModel? {
         didSet {
             iconImagView.kf.setImage(with: kURLImage(name: productSearchModel?.img ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = productSearchModel?.saleName
             detailTitleLabel.text = productSearchModel?.subtitle
             sellNumberLabel.text = "已售\(productSearchModel?.totalCount ?? 0)件"

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ProductView/TableViewCell/ProductHSmallTableViewCell.swift

@@ -149,7 +149,7 @@ class ProductHSmallTableViewCell: UITableViewCell {
     var productSearchModel: ProductSearchModel? {
         didSet {
             iconImagView.kf.setImage(with: kURLImage(name: productSearchModel?.img ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = productSearchModel?.saleName
             detailTitleLabel.text = productSearchModel?.subtitle
             sellNumberLabel.text = "已售\(productSearchModel?.totalCount ?? 0)件"

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/Shop/View/ShopViewShopInfoTableViewCell.swift

@@ -163,7 +163,7 @@ class ShopViewShopInfoTableViewCell: UITableViewCell {
 
             
             shopIconImageView.kf.setImage(with: kURLImage(name: shopModel?.logoImg ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
              shopNameLabel.text = shopModel?.shopName
 
             

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ShoppingCart/View/ShoppingCartList/ShoppingCartListTableViewCell.swift

@@ -45,7 +45,7 @@ class ShoppingCartListTableViewCell: UITableViewCell {
             selectedButton.isSelected = selStatus
             // 商品图片
             iconImageView.kf.setImage(with: kURLImage(name: productMdl?.productImg ?? ""), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             // 商品名称
             titleLabel.text = productMdl?.productName
             // 预计配送时间            

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ShoppingMall/View/ShoppingMallBanner/ShoppingMallBannerFSPagerViewCell.swift

@@ -60,7 +60,7 @@ class ShoppingMallBannerFSPagerViewCell: FSPagerViewCell {
     var cmsRuleModel : CMSRuleModel? {
         didSet {
             bgImageView.kf.setImage(with: kURLThumbnailsImage(name: cmsRuleModel?.rule?.url ?? "default_pic", size: CGSize(width: kScreenWidth-28, height: self.height)), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
 
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ShoppingMall/View/ShoppingMallCategory/ShoppingMallCategoryCollectionViewCell.swift

@@ -68,7 +68,7 @@ class ShoppingMallCategoryCollectionViewCell: UICollectionViewCell {
     var cmsRuleModel : CMSRuleModel? {
         didSet {
             iconImageView.kf.setImage(with: kURLImage(name: cmsRuleModel?.rule?.url ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
             titleLabel.text = cmsRuleModel?.rule?.title ?? ""
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/ShoppingMall/View/ShoppingMallSepcial/ShoppingMallSepcialCollectionViewCell.swift

@@ -59,7 +59,7 @@ class ShoppingMallSepcialCollectionViewCell: UICollectionViewCell {
     var cmsRuleModel : CMSRuleModel? {
         didSet {
             iconImageView.kf.setImage(with: kURLImage(name: cmsRuleModel?.rule?.url ?? "default_pic"), placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
         }
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/ShoppingMallModule/Special/View/SpecialBannerView.swift

@@ -36,7 +36,7 @@ class SpecialBannerView: BaseView {
     var cmsRuleModel : CMSRuleModel? {
         didSet {
             bannerButton.kf.setImage(with: kURLImage(name: cmsRuleModel?.url ?? "default_pic"), for: UIControl.State.normal, placeholder: kImage(name: "default_pic"))
-            KingfisherManager.shared.cache.clearMemoryCache()
+            //KingfisherManager.shared.cache.clearMemoryCache()
         }
     }
 }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Tools/BrowsePictures/ViewController/BrowsePicturesViewController.swift

@@ -195,7 +195,7 @@ UICollectionViewDelegateFlowLayout{
             let cell = BrowsePicturesPagerViewCell.cellWith(collectionView: collectionView, indexPath: indexPath)
             if !(imageStrs.isEmpty){
                 cell.iconImageView.kf.setImage(with: kURLImage(name: imageStrs[indexPath.row]), placeholder: kImage(name: ""))
-                KingfisherManager.shared.cache.clearMemoryCache()
+                //KingfisherManager.shared.cache.clearMemoryCache()
             }
             if !(images.isEmpty){
                 cell.iconImageView.image = images[indexPath.row]