From d75285e647bdaea402198353d17f1dccbc8137f6 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 03 三月 2021 10:37:04 +0800
Subject: [PATCH] 2021-03-03 1.优化

---
 EZSDK/EZSDK/EZSDK.m |   24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/EZSDK/EZSDK/EZSDK.m b/EZSDK/EZSDK/EZSDK.m
index 700013e..8fdf0ec 100644
--- a/EZSDK/EZSDK/EZSDK.m
+++ b/EZSDK/EZSDK/EZSDK.m
@@ -6,8 +6,7 @@
 //
 
 #import "EZSDK.h"
-#import "DeviceInfo.h"
-#import "EZDeviceInfo.h"
+//#import "DeviceInfo.h"
 #import "EZDeviceInfo.h"
 #import "EZOpenSDK.h"
 #import "GlobalKit.h"
@@ -19,6 +18,10 @@
 #import "EZPlaybackViewController.h"
 #import "EZDeviceTableViewController.h"
 #import "EZHCNetDeviceSDK.h"
+
+
+
+
 
 @implementation EZSDK
 
@@ -58,7 +61,20 @@
     [EZOPENSDK setAccessToken:accessToken];
 }
 
-
+/**
+ 璁剧疆HDLSDK鐨刟ccessToken
+ */
++(void)setHDlAccessToken:(NSString *) accessToken refreshToken:(NSString *) refreshToken
+{
+    [[GlobalKit shareKit] setHdlAccessToken:accessToken];
+    [[GlobalKit shareKit] setHdlRefreshToken:refreshToken];
+}
+/**
+ 璁剧疆SDK鐨勬渤涓滄帴鍙g殑requestHttpsHost
+ */
++(void)setRequestHttpsHost:(NSString *) requestHttpsHost{
+    [[GlobalKit shareKit] setGlobalRequestHttpsHost:requestHttpsHost];
+}
 
 //鑾峰彇褰撳墠灞忓箷鏄剧ず鐨剉iewcontroller   (杩欓噷闈㈣幏鍙栫殑鐩稿綋浜巖ootViewController)
 +(UINavigationController *)getCurrentVC
@@ -278,4 +294,6 @@
 //    }
 //}
 
+
+
 @end

--
Gitblit v1.8.0