Parcourir la source

移除了无用的代码

南鑫林 il y a 5 ans
Parent
commit
28a7b5c143
74 fichiers modifiés avec 68 ajouts et 91 suppressions
  1. BIN
      .DS_Store
  2. 1 1
      RainbowPlanet/RainbowPlanet/AppDelegate/AppDelegate.swift
  3. 2 2
      RainbowPlanet/RainbowPlanet/Base/BaseViewController/BaseViewController.swift
  4. 1 1
      RainbowPlanet/RainbowPlanet/Base/BaseWebViewController/BaseJSWebBaseViewController.swift
  5. 1 1
      RainbowPlanet/RainbowPlanet/Base/BaseWebViewController/BaseJSWebViewController.swift
  6. 2 2
      RainbowPlanet/RainbowPlanet/Model/UserModel/UserModel.swift
  7. 0 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/Banner/CommunityBannerFSPagerViewCell.swift
  8. 0 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/CardContent/Comment/CardContentCommnetTableViewCell.swift
  9. 0 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/CardContent/PicVideo/CardContentPicVideoCollectionViewCell.swift
  10. 0 2
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/CardContent/User/CardContentUserTableViewCell.swift
  11. 0 2
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/FeaturedTopics/FeaturedTopicsCollectionViewCell.swift
  12. 0 2
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/FollowStatus/CommunityFollowStatusTableViewCell.swift
  13. 0 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/PopularVideo/PopularVideoCollectionViewCell.swift
  14. 0 5
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/View/Cell/RecommendFollow/CommunityRecommendFollowCollectionViewCell.swift
  15. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Main/CommunityViewController.swift
  16. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Recommend/CommunityRecommnendViewController.swift
  17. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityFeaturedTopics/ViewController/CommunityFeaturedTopicsViewController.swift
  18. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityFindFriends/ViewController/CommunityFindFriendsViewController.swift
  19. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityMyFollowTopic/ViewController/CommunityMyFollowTopicController.swift
  20. 2 2
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/Controller/CommunityRecommendController.swift
  21. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/AllCommentCell/RecommendMajorCommentCell.swift
  22. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/AllCommentCell/RecommendSubCommentTableViewCell.swift
  23. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/CommunityPostDetailFSPagerViewCell.swift
  24. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityRecommendDetail/View/HTMLCell/CommunityRecommendDetailHTMLTableViewCell.swift
  25. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityReport/ViewControllelr/CommunityReportViewController.swift
  26. 2 2
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityShareActivity/CommunityShareActivityViewController.swift
  27. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityShareContent/CommunityShareContentViewController.swift
  28. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunitySubComment/View/CommunityMajorCommentCell.swift
  29. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunitySubComment/View/CommunityReplyCommentCell.swift
  30. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunitySubComment/ViewController/CommunitySubCommentController.swift
  31. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoContent/View/CommunityVideoCoverCollectionCell.swift
  32. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoContent/View/CommunityVideoMajorCommentCell.swift
  33. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoContent/ViewController/CommunityVideoListController.swift
  34. 1 1
      RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoSubCommentController/CommunityVideoSubCommentController.swift
  35. 2 2
      RainbowPlanet/RainbowPlanet/Modules/H5Modules/H5Common/ViewController/H5CommonViewController.swift
  36. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessageList/View/MessageListTableCell.swift
  37. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessageList/ViewController/MessageListController.swift
  38. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessageMain/ViewController/MessageMainViewController.swift
  39. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessagePlanetActivity/Controller/MessagePlanetActivityController.swift
  40. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessagePlanetActivity/View/MessageActivityTableCell.swift
  41. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessagePlanetNotification/Controller/MessagePlanetNotiController.swift
  42. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MineModule/ModifyData/ViewController/ModifyDataViewController.swift
  43. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MineModule/MyFollowAndFan/ViewController/MyFollowAndFanViewController.swift
  44. 2 2
      RainbowPlanet/RainbowPlanet/Modules/MineModule/PersonalCenter/OtherPersonalCenter/ViewController/OtherPersonalCenterViewController.swift
  45. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MineModule/PersonalCenter/PersonalCenterView/PersonViewUserAndOtherHeaderView.swift
  46. 1 1
      RainbowPlanet/RainbowPlanet/Modules/MineModule/PersonalCenter/PersonalCenterView/PersonViewUserAndOtherListCollectionViewCell.swift
  47. 2 2
      RainbowPlanet/RainbowPlanet/Modules/MineModule/PersonalCenter/UserPersonalCenter/ViewController/UserPersonalCenterViewController.swift
  48. 1 1
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishAddAddress/ViewController/PublishAddAddressController.swift
  49. 1 1
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishAddTopic/Controller/PublishAddTopicController.swift
  50. 1 1
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishAddTopic/View/PublishTopicTypeItemCollectionCell.swift
  51. 1 1
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishEdit/Controller/PublishEditController.swift
  52. 1 1
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishEdit/View/PublishEditAddImgCollectionCell.swift
  53. 1 1
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishMediaPicker/View/KSMediaPickerPreviewView.swift
  54. 1 1
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishTakePhoto/PublishTakePhotoController.swift
  55. 1 1
      RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishViewController.swift
  56. 1 1
      RainbowPlanet/RainbowPlanet/Modules/PublishNewModule/PublishNew/ViewController/PublishNewViewController.swift
  57. 0 1
      RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/Banner/RedemptionAreaFSPagerViewCell.swift
  58. 0 1
      RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/FloorCell/RedemptionAreaProductCollectionViewCell.swift
  59. 0 1
      RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/FloorHeader/FloorHeaderViewFloorHeaderView.swift
  60. 0 1
      RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/SpecialCell/SpecialOneTypeCollectionViewCell.swift
  61. 0 1
      RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/View/SpecialCell/SpecialTwoTypeCollectionViewCell.swift
  62. 1 1
      RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/ViewController/RedemptionAreaViewController.swift
  63. 1 1
      RainbowPlanet/RainbowPlanet/Modules/RegisterLoginModule/TopicSelection/View/TopicSelectionCollectionViewCell.swift
  64. 1 1
      RainbowPlanet/RainbowPlanet/Modules/SearchModule/Search/ViewController/SearchViewController.swift
  65. 1 1
      RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchContentList/View/SearchContentListCollectionCell.swift
  66. 1 1
      RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchContentList/ViewController/SearchContentListViewController.swift
  67. 1 1
      RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchResult/ViewController/SearchResultViewController.swift
  68. 1 1
      RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchTopicList/View/SearchTopicListTableViewCell.swift
  69. 1 1
      RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchTopicList/ViewController/SearchTopicListViewController.swift
  70. 1 4
      RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchUser/View/SearchUserLitTableViewCell.swift
  71. 1 1
      RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchUser/ViewController/SearchUserListViewController.swift
  72. 2 2
      RainbowPlanet/RainbowPlanet/Service/SwiftMoyaService/SwiftMoyaServiceManger/SwiftMoyaNetWorkManager/ApiMacro.swift
  73. 1 1
      RainbowPlanet/RainbowPlanet/Tools/BrowsePictures/ViewController/BrowsePicturesViewController.swift
  74. 1 1
      RainbowPlanet/RainbowPlanet/Tools/WKWebView/WebView.swift

BIN
.DS_Store


+ 1 - 1
RainbowPlanet/RainbowPlanet/AppDelegate/AppDelegate.swift

@@ -23,7 +23,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
     }
     
     func applicationDidReceiveMemoryWarning(_ application: UIApplication) {
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
 }

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

@@ -69,8 +69,8 @@ class BaseViewController: UIViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
-        KingfisherManager.shared.cache.clearMemoryCache()
+        KingfisherManager.shared.cache.clearDiskCache()
+//        KingfisherManager.shared.cache.clearMemoryCache()
     }
 
 }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Base/BaseWebViewController/BaseJSWebBaseViewController.swift

@@ -30,7 +30,7 @@ class BaseJSWebBaseViewController: BaseViewController {
     }
     
     override func setupViews() {
-        removeWKWebViewCookies()
+//        removeWKWebViewCookies()
         view.addSubview(wkWebView)
         view.addSubview(progressView)
         WebViewJavascriptBridge.enableLogging()

+ 1 - 1
RainbowPlanet/RainbowPlanet/Base/BaseWebViewController/BaseJSWebViewController.swift

@@ -33,7 +33,7 @@ class BaseJSWebViewController: BaseViewController {
     }
     
     override func setupViews() {
-        removeWKWebViewCookies()
+//        removeWKWebViewCookies()
         view.addSubview(wkWebView)
         view.addSubview(progressView)
         WebViewJavascriptBridge.enableLogging()

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

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

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

@@ -59,7 +59,6 @@ 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()
 
         }
     }

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

@@ -61,7 +61,6 @@ class CardContentCommnetTableViewCell: UITableViewCell {
     
     lazy var avatarButton: UIButton = {
         let avatarButton = UIButton()
-        //KingfisherManager.shared.cache.clearMemoryCache()
         avatarButton.cornerRadius = 14
         avatarButton.masksToBounds = true
         return avatarButton

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

@@ -69,7 +69,6 @@ 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()
         }
     }
     

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

@@ -160,7 +160,6 @@ 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()
             titleButton.setTitle(communityRecommendDataModel?.username, for: UIControl.State.normal)
             timeLabel.text = communityRecommendDataModel?.createdAt
             if communityRecommendDataModel?.uid == UserModel.shared().getModel()?.uid {
@@ -177,7 +176,6 @@ 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()
             titleButton.setTitle(communityFollowDataModel?.relateData?.username, for: UIControl.State.normal)
             timeLabel.text = communityFollowDataModel?.relateData?.createdAt
             

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

@@ -99,8 +99,6 @@ 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()
-
 
             topicLabel.text = communityRecommendTypeDataModel?.name
             numberPeopleLable.text = "\(communityRecommendTypeDataModel?.followCount ?? "0")人参与"

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

@@ -303,7 +303,6 @@ 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()
 
             titleButton.setTitle(communityFollowDataModel?.followUsername, for: UIControl.State.normal)
             skittlesTitleLabel.text = "收获 \(communityFollowDataModel?.content?.beans ?? 0) U米"
@@ -320,7 +319,6 @@ 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()
 
                 titleOtherButton.setTitle(communityFollowDataModel?.relateData?.username, for: UIControl.State.normal)
                 if communityFollowDataModel?.relateData?.uid == UserModel.shared().getModel()?.uid {

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

@@ -86,7 +86,6 @@ 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()
 
             nameLabel.text = communityRecommendTypeDataModel?.userName
         }

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

@@ -127,9 +127,6 @@ 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()
-
-           
 
             titleButton.setTitle(communityRecommendTypeDataModel?.userName, for: UIControl.State.normal)
             CommunityFollowUserViewModel.setFollowType(followButton: followButton, followType: FollowType(rawValue: communityRecommendTypeDataModel?.followStatus ?? 0)!)
@@ -151,8 +148,6 @@ 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()
-
 
             titleButton.setTitle(cmsMemberModel?.username, for: UIControl.State.normal)
             if cmsMemberModel?.topicName == "" || cmsMemberModel?.topicName == nil {

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

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

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

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

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

@@ -14,7 +14,7 @@ class CommunityFeaturedTopicsViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityFindFriends/ViewController/CommunityFindFriendsViewController.swift

@@ -12,7 +12,7 @@ class CommunityFindFriendsViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityMyFollowTopic/ViewController/CommunityMyFollowTopicController.swift

@@ -14,7 +14,7 @@ class CommunityMyFollowTopicController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
         

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

@@ -13,7 +13,7 @@ class CommunityRecommendController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     
@@ -374,7 +374,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()
+            
             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

@@ -222,7 +222,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()
+            
             titleLabel.text = communityPostCommentModel?.username
             contentLabel.text = communityPostCommentModel?.content
             timeLabel.text = communityPostCommentModel?.createdAt

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

@@ -216,7 +216,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()
+            
 
             
             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()
+            
 
         }
     }

+ 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()
+            
             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/CommunityReport/ViewControllelr/CommunityReportViewController.swift

@@ -13,7 +13,7 @@ class CommunityReportViewController: BaseViewController {
 
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
 

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

@@ -13,7 +13,7 @@ class CommunityShareActivityViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     
@@ -76,7 +76,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()
+            
             self?.shareCommunityContentView.imageUrl = (data as! String)
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityShareContent/CommunityShareContentViewController.swift

@@ -14,7 +14,7 @@ class CommunityShareContentViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

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

@@ -203,7 +203,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()
+            
             titleLabel.text = communityPostCommentModel?.username
             contentLabel.text = communityPostCommentModel?.content
             timeLabel.text = communityPostCommentModel?.createdAt

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

@@ -209,7 +209,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()
+            
             
             titleLabel.text = communityPostReplyModel?.username
             

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunitySubComment/ViewController/CommunitySubCommentController.swift

@@ -14,7 +14,7 @@ class CommunitySubCommentController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

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

@@ -914,7 +914,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()
+            
 
             if self.videoItemMdl?.username?.count ?? 0 <= 12 {
                 personLabel.text = self.videoItemMdl?.username

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

@@ -222,7 +222,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()
+            
             titleLabel.text = communityPostCommentModel?.username
             contentLabel.text = communityPostCommentModel?.content
             timeLabel.text = communityPostCommentModel?.createdAt

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoContent/ViewController/CommunityVideoListController.swift

@@ -19,7 +19,7 @@ class CommunityVideoListController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoSubCommentController/CommunityVideoSubCommentController.swift

@@ -14,7 +14,7 @@ class CommunityVideoSubCommentController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 2 - 2
RainbowPlanet/RainbowPlanet/Modules/H5Modules/H5Common/ViewController/H5CommonViewController.swift

@@ -17,8 +17,8 @@ class H5CommonViewController: BaseJSWebBaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
-        KingfisherManager.shared.cache.clearMemoryCache()
+        KingfisherManager.shared.cache.clearDiskCache()
+//        KingfisherManager.shared.cache.clearMemoryCache()
     }
     
     deinit {

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

@@ -207,7 +207,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()
+            
 
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessageList/ViewController/MessageListController.swift

@@ -25,7 +25,7 @@ public enum MessageListVCType {
 class MessageListController: BaseViewController {
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessageMain/ViewController/MessageMainViewController.swift

@@ -14,7 +14,7 @@ import Kingfisher
 class MessageMainViewController: BaseViewController {
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     deinit {

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessagePlanetActivity/Controller/MessagePlanetActivityController.swift

@@ -18,7 +18,7 @@ class MessagePlanetActivityController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         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()
+            
 
             if messageDataModel?.param?.activityTime == nil || messageDataModel?.param?.activityTime == "" {
                 titleLabel.snp.remakeConstraints { (make) in

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessagePlanetNotification/Controller/MessagePlanetNotiController.swift

@@ -11,7 +11,7 @@ class MessagePlanetNotiController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/MineModule/ModifyData/ViewController/ModifyDataViewController.swift

@@ -12,7 +12,7 @@ class ModifyDataViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/MineModule/MyFollowAndFan/ViewController/MyFollowAndFanViewController.swift

@@ -18,7 +18,7 @@ class MyFollowAndFanViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
 

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

@@ -20,7 +20,7 @@ class OtherPersonalCenterViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
 
@@ -196,7 +196,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()
+            
 
             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()
+            
 
 
         }

+ 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()
+            
             rainbowBeanNumberLabel.text = "\(postMyModel?.collectBean ?? 0)"
             if PostMyModelType(rawValue: postMyModel?.type ?? "") == .video {
                 videoImageView.isHidden = false

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

@@ -25,7 +25,7 @@ class UserPersonalCenterViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     weak var observe : NSObjectProtocol?
@@ -314,7 +314,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()
+            
             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/PublishModule/PublishAddAddress/ViewController/PublishAddAddressController.swift

@@ -13,7 +13,7 @@ class PublishAddAddressController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishAddTopic/Controller/PublishAddTopicController.swift

@@ -16,7 +16,7 @@ class PublishAddTopicController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 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()
+            
 
         }
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishEdit/Controller/PublishEditController.swift

@@ -26,7 +26,7 @@ class PublishEditController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         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()
+            
 
         }
     }

+ 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()
+                    
 
                 }
             }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishTakePhoto/PublishTakePhotoController.swift

@@ -22,7 +22,7 @@ class PublishTakePhotoController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishViewController.swift

@@ -14,7 +14,7 @@ class PublishViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/PublishNewModule/PublishNew/ViewController/PublishNewViewController.swift

@@ -14,7 +14,7 @@ class PublishNewViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

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

@@ -58,7 +58,6 @@ 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()
 
         }
     }

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

@@ -131,7 +131,6 @@ 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()
             titleLabel.text = cmsRedemptionAreaRule?.saleName
             detatileTitleLabel.text = cmsRedemptionAreaRule?.subtitle
             beanLabel.text = "\(cmsRedemptionAreaRule?.price ?? 0)"

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

@@ -39,7 +39,6 @@ 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()
 
         }
     }

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

@@ -59,7 +59,6 @@ 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()
 
         }
     }

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

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

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/RedemptionAreaModule/RedemptionArea/ViewController/RedemptionAreaViewController.swift

@@ -14,7 +14,7 @@ class RedemptionAreaViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         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()
+            
 
             titleLabel.text = communityTopicModel?.name
             selectionButton.isSelected = communityTopicModel?.isSelected ?? false

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/SearchModule/Search/ViewController/SearchViewController.swift

@@ -12,7 +12,7 @@ class SearchViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 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()
+            
             nameButton.text = communityPostDataModel?.username
 
             likeLabel.text = "\(communityPostDataModel?.praiseCount ?? 0)"

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchContentList/ViewController/SearchContentListViewController.swift

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

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchResult/ViewController/SearchResultViewController.swift

@@ -13,7 +13,7 @@ class SearchResultViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 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()
+            
 
             titleLabel.text = communityTopicDataModel?.name
             subtitleLabel.text = "\(communityTopicDataModel?.followCount ?? "0")人参与"

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchTopicList/ViewController/SearchTopicListViewController.swift

@@ -17,7 +17,7 @@ class SearchTopicListViewController: BaseViewController {
 
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

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

@@ -146,7 +146,6 @@ 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()
             titleButton.setTitle(userFollowModel?.followUsername, for: UIControl.State.normal)
             var followTopic = Array<String>()
             if !(userFollowModel?.followTopic?.isEmpty ?? true) {
@@ -169,7 +168,6 @@ 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()
             titleButton.setTitle(userFanModel?.fanUsername, for: UIControl.State.normal)
             var followTopic = Array<String>()
             if !(userFanModel?.fanTopic?.isEmpty ?? true) {
@@ -192,7 +190,6 @@ 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()
             titleButton.setTitle(cmsMemberModel?.username, for: UIControl.State.normal)
             var followTopic = Array<String>()
             if !(cmsMemberModel?.followTopic?.isEmpty ?? true) {
@@ -216,7 +213,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()
+            
 
             titleButton.setTitle(searchMemberModel?.username, for: UIControl.State.normal)
             var followTopic = Array<String>()

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/SearchModule/SearchUser/ViewController/SearchUserListViewController.swift

@@ -14,7 +14,7 @@ class SearchUserListViewController: BaseViewController {
     
     override func didReceiveMemoryWarning() {
         super.didReceiveMemoryWarning()
-        //KingfisherManager.shared.cache.clearDiskCache()
+        KingfisherManager.shared.cache.clearDiskCache()
         KingfisherManager.shared.cache.clearMemoryCache()
     }
     

+ 2 - 2
RainbowPlanet/RainbowPlanet/Service/SwiftMoyaService/SwiftMoyaServiceManger/SwiftMoyaNetWorkManager/ApiMacro.swift

@@ -15,8 +15,8 @@ let kBetaSever = false
 let kProductSever = false
 
 /// H5Service
-let kH5PersonalService = false
-let kH5DevelopSever = true
+let kH5PersonalService = true
+let kH5DevelopSever = false
 let kH5BetaSever = false
 let kH5ProductSever = false
 

+ 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()
+                
             }
             if !(images.isEmpty){
                 cell.iconImageView.image = images[indexPath.row]

+ 1 - 1
RainbowPlanet/RainbowPlanet/Tools/WKWebView/WebView.swift

@@ -352,7 +352,7 @@ func removeWKWebViewCookies() {
 //                if record.displayName.contains("sina.com"){//这个判断注释掉的话是清理所有的cookie
                     WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {
                         //清除成功
-//                        NXLLog("清除成功\(record)")
+                        NXLLog("清除成功\(record)")
                     })
 //                }
             }