Commit 8020a6ae487e64b923d4b454205a85a78e4413f1
1 parent
cd6e73af
删除TIM
Showing
5 changed files
with
11 additions
and
3 deletions
DSCnliveShopSDK.podspec
| ... | ... | @@ -21,7 +21,6 @@ Pod::Spec.new do |s| |
| 21 | 21 | s.dependency 'Qiniu', '7.2.5' |
| 22 | 22 | s.dependency 'Masonry', '1.1.0' |
| 23 | 23 | s.dependency 'PLPlayerKit', '~> 3.4.3' |
| 24 | - s.dependency 'TXIMSDK_iOS' | |
| 25 | 24 | s.dependency 'CNLiveRequestBastKit' |
| 26 | 25 | s.dependency 'CNLiveSDKs/CNLiveEncryptSDK' |
| 27 | 26 | s.dependency 'CNLiveSDKs/CNLivePaySDK' | ... | ... |
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSCnliveShopSDK
No preview for this file type
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDKCheck.h
| ... | ... | @@ -24,7 +24,7 @@ NS_ASSUME_NONNULL_BEGIN |
| 24 | 24 | /// 检测是否有礼物 |
| 25 | 25 | /// @param completion 检测回调 isHave有没有礼物 有礼物跳转礼物详情 没礼物跳转h5 |
| 26 | 26 | /// errorCode 0没错 1没登录 2请求错误 errorMessage错误信息 |
| 27 | --(void)checkIsHaveGiftCompletion:(void (^)(BOOL isHave, NSString * _Nullable giftOrderId, NSString * _Nullable url, NSUInteger errorCode, NSString * _Nullable errorMessage))completion; | |
| 27 | +-(void)checkIsHaveGiftCompletion:(nullable void (^)(BOOL isHave, NSString * _Nullable giftOrderId, NSString * _Nullable url, NSUInteger errorCode, NSString * _Nullable errorMessage))completion; | |
| 28 | 28 | |
| 29 | 29 | @end |
| 30 | 30 | ... | ... |
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDKProtocol.h
| ... | ... | @@ -167,6 +167,13 @@ |
| 167 | 167 | /// @param subType 检测子类型 |
| 168 | 168 | -(void)uMengCheckCallBackType:(DSUMengCheckType)checkType subType:(DSUMengCheckSLType)subType; |
| 169 | 169 | |
| 170 | +#pragma mark - TIM | |
| 171 | + | |
| 172 | +/// TIM检测是否互为好友 | |
| 173 | +/// @param uid 用户id | |
| 174 | +/// @param result 结果 | |
| 175 | +-(void)TIMCheckIsFriend:(nonnull NSString*)uid result:(nullable void (^)(BOOL flag))result; | |
| 176 | + | |
| 170 | 177 | @end |
| 171 | 178 | |
| 172 | 179 | #endif /* DSCnliveShopSDKProtocol_h */ | ... | ... |
Example/Podfile
| ... | ... | @@ -19,6 +19,8 @@ target 'DSCnliveShopSDK_Example' do |
| 19 | 19 | pod 'Qiniu', '7.2.5' |
| 20 | 20 | pod 'Masonry', '1.1.0' |
| 21 | 21 | pod 'PLPlayerKit', '~> 3.4.3' |
| 22 | + pod 'TXIMSDK_iOS' | |
| 23 | +# pod 'CNLiveRequestKitSDK', '~> 1.4.2' | |
| 22 | 24 | pod 'CNLiveRequestBastKit' |
| 23 | 25 | pod 'CNLiveSDKs/CNLiveEncryptSDK' |
| 24 | 26 | pod 'CNLiveSDKs/CNLivePaySDK' |
| ... | ... | @@ -26,7 +28,7 @@ target 'DSCnliveShopSDK_Example' do |
| 26 | 28 | pod 'QMUIKit', ' 4.0.2' |
| 27 | 29 | pod 'YYKit', '1.0.9' |
| 28 | 30 | pod 'SDAutoLayout', '2.2.1' |
| 29 | - | |
| 31 | + | |
| 30 | 32 | pod 'BKTimer', '~> 1.0.1' |
| 31 | 33 | pod 'BKCycleScrollView', '~> 2.0.6' |
| 32 | 34 | pod 'BKPickerView', '~> 1.1.1' | ... | ... |