Преглед на файлове

WMBase基础类修改-wm

wangmeng преди 2 години
родител
ревизия
fa4e2379f7

+ 4 - 2
WMBase/WMBase/CTMediatoaTargets/CTMediator+Targets.h

@@ -5,12 +5,14 @@
 //  Created by 王猛 on 2023/5/5.
 //
 
-#import "CTMediator.h"
-
+#import <CTMediator/CTMediator.h>
+#import <UIKit/UIKit.h>
 NS_ASSUME_NONNULL_BEGIN
 
 @interface CTMediator (Targets)
 
+-(UIViewController *)Goods_GoodsDetaileC:(NSDictionary *)params;
+-(UIViewController *)B_viewControllerWithContentText:(NSDictionary *)params;
 @end
 
 NS_ASSUME_NONNULL_END

+ 6 - 0
WMBase/WMBase/CTMediatoaTargets/CTMediator+Targets.m

@@ -8,5 +8,11 @@
 #import "CTMediator+Targets.h"
 
 @implementation CTMediator (Targets)
+-(UIViewController *)Goods_GoodsDetaileC:(NSDictionary *)params{
+    return [self performTarget:@"Goods" action:@"GoodsDetaileC" params:nil shouldCacheTarget:NO];
+}
 
+-(UIViewController *)B_viewControllerWithContentText:(NSDictionary *)params{
+    return [self performTarget:@"B" action:@"viewController" params:nil shouldCacheTarget:NO];
+}
 @end

+ 1 - 1
WMBase/WMBase/UCMBaseC.h

@@ -5,7 +5,7 @@
 //  Created by 王猛 on 2023/5/4.
 //
 
-#import "QMUICommonViewController.h"
+
 #import <UIKit/UIKit.h>
 #import <QMUIKit/QMUIKit.h>
 

+ 1 - 3
WMBase/WMBase/UC_Commonmodule/UC_CommonmoduleKit/UC_CommonmoduleKit.h

@@ -29,14 +29,13 @@
 #import <WMBase/TT_NothingV.h>
 #import <WMBase/TT_ProgressV.h>
 #import <WMBase/TT_SlidedownwardTool.h>
-#import <WMBase/TT_TextV.h>
 #import <WMBase/TT_ViewAppearOrdisappear.h>
 #import <WMBase/TT_WKweb.h>
 #import <WMBase/UIViewController+TT_configV.h>
 #import <WMBase/WeakScriptMessageDelegate.h>
 #import <WMBase/WKProcessPool+SharedProcessPool.h>
 #import <WMBase/XXX_ToolWKData.h>
-#import <WMBase/UIDevice+StateHeight.h">
+#import <WMBase/UIDevice+StateHeight.h>
 
 
 #else
@@ -56,7 +55,6 @@
 #import "TT_NothingV.h"
 #import "TT_ProgressV.h"
 #import "TT_SlidedownwardTool.h"
-#import "TT_TitleV.h"
 #import "TT_ViewAppearOrdisappear.h"
 #import "TT_WKweb.h"
 #import "UIViewController+TT_configV.h"

+ 1 - 1
WMBase/WMBase/UC_Commonmodule/UC_CommonmoduleTool/UIButton+SDCategory.h

@@ -7,7 +7,7 @@
 //
 
 #import <UIKit/UIKit.h>
-#import "SDWebImageManager.h"
+#import <SDWebImage/SDWebImageManager.h>
 
 @interface UIButton (SDCategory)
 

+ 2 - 0
WMBase/WMBase/UC_CommonmoduleMaco.h

@@ -12,6 +12,7 @@
 
 #if __has_include(<WMBase/UC_CommonmoduleMaco.h>)
 
+
 #import <WMBase/TT_GeneralProfile.h>
 #import <WMBase/UC_CommonmoduleCat.h>
 #import <WMBase/UC_CommonmoduleKit.h>
@@ -19,6 +20,7 @@
 #import <WMBase/UC_CommonmoduleTool.h>
 
 #else
+
 #import "TT_GeneralProfile.h"
 #import "UC_CommonmoduleCat.h"
 #import "UC_CommonmoduleKit.h"

+ 1 - 1
WMBase/WMBase/Ucm_NetWork/UCMHttpRequestNetworkManager.h

@@ -6,7 +6,7 @@
 //
 
 #import <Foundation/Foundation.h>
-#import "AFNetworkReachabilityManager.h"
+#import <AFNetworking/AFNetworking.h>
 NS_ASSUME_NONNULL_BEGIN
 
 @interface UCMHttpRequestNetworkManager : NSObject