From d56c8422138cd82d2ea9bed8e2f4b0bc7766be4b Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 02 三月 2021 15:38:32 +0800 Subject: [PATCH] 2021-03-02 1.最近新云端接口 --- EZSDK/EZSDK/EZSDK.m | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/EZSDK/EZSDK/EZSDK.m b/EZSDK/EZSDK/EZSDK.m index 700013e..c813e1e 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,14 @@ [EZOPENSDK setAccessToken:accessToken]; } - +/** + 璁剧疆HDLSDK鐨刟ccessToken + */ ++(void)setHDlAccessToken:(NSString *) accessToken refreshToken:(NSString *) refreshToken +{ + [[GlobalKit shareKit] setHdlAccessToken:accessToken]; + [[GlobalKit shareKit] setHdlRefreshToken:refreshToken]; +} //鑾峰彇褰撳墠灞忓箷鏄剧ず鐨剉iewcontroller (杩欓噷闈㈣幏鍙栫殑鐩稿綋浜巖ootViewController) +(UINavigationController *)getCurrentVC @@ -278,4 +288,6 @@ // } //} + + @end -- Gitblit v1.8.0