Commit 49c8a9ff9b8c8dbeb2fc543f0fcb768a8087a4ed
1 parent
11113e8d
修改刷新方法 暴露礼物列表 修改礼物流程
Showing
25 changed files
with
36 additions
and
4 deletions
DSCnliveShopSDK.podspec
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSCnliveShopSDK
No preview for this file type
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSLoading_0.png
0 → 100644
573 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSLoading_1.png
0 → 100644
622 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSLoading_2.png
0 → 100644
612 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSLoading_3.png
0 → 100644
627 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSLoading_4.png
0 → 100644
625 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSLoading_5.png
0 → 100644
613 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSLoading_6.png
0 → 100644
605 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSLoading_7.png
0 → 100644
601 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSLoading_8.png
0 → 100644
573 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSWhiteLoad_0.png
0 → 100644
505 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSWhiteLoad_1.png
0 → 100644
581 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSWhiteLoad_2.png
0 → 100644
568 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSWhiteLoad_3.png
0 → 100644
554 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSWhiteLoad_4.png
0 → 100644
577 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSWhiteLoad_5.png
0 → 100644
599 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSWhiteLoad_6.png
0 → 100644
570 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSWhiteLoad_7.png
0 → 100644
583 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSResource.bundle/Refresh/DSWhiteLoad_8.png
0 → 100644
505 Bytes
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDK.h
| ... | ... | @@ -28,6 +28,7 @@ FOUNDATION_EXPORT const unsigned char DSCnliveShopSDKVersionString[]; |
| 28 | 28 | #import <DSCnliveShopSDK/DSHappHPParentViewController.h> |
| 29 | 29 | #import <DSCnliveShopSDK/DSROrderListViewController.h> |
| 30 | 30 | #import <DSCnliveShopSDK/DSServiceHPViewController.h> |
| 31 | +#import <DSCnliveShopSDK/DSOMyGivingGiftsListViewController.h> | |
| 31 | 32 | |
| 32 | 33 | #import <DSCnliveShopSDK/DSAddressRequest.h> |
| 33 | 34 | #import <DSCnliveShopSDK/DSAddressEnum.h> |
| ... | ... | @@ -56,6 +57,7 @@ FOUNDATION_EXPORT const unsigned char DSCnliveShopSDKVersionString[]; |
| 56 | 57 | #import "DSHappHPParentViewController.h" |
| 57 | 58 | #import "DSROrderListViewController.h" |
| 58 | 59 | #import "DSServiceHPViewController.h" |
| 60 | +#import "DSOMyGivingGiftsListViewController.h" | |
| 59 | 61 | |
| 60 | 62 | #import "DSAddressRequest.h" |
| 61 | 63 | #import "DSAddressEnum.h" | ... | ... |
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDKSkip.h
| ... | ... | @@ -93,10 +93,11 @@ NS_ASSUME_NONNULL_BEGIN |
| 93 | 93 | -(void)successLoggedSkipTargetVCWithCurrentVC:(nonnull UIViewController*)currentVC animated:(BOOL)animated; |
| 94 | 94 | |
| 95 | 95 | /// 跳转收礼界面 |
| 96 | -/// @param giftOrderId 礼物订单id 如果没传会自行获取没有填写地址订单的id,此为已登录的前提 | |
| 96 | +/// @param giftOrderId 礼物订单id (如果没传会自行获取没有填写地址订单的id,此为已登录的前提) | |
| 97 | +/// @param receivingValidTime 礼物有效时间(收礼前需要) | |
| 97 | 98 | /// @param currentVC 当前控制器 |
| 98 | 99 | /// @return YES成功跳转 NO跳转失败,没有查到礼物订单id |
| 99 | --(BOOL)skipReceivingGiftsVCWithGiftOrderId:(nullable NSString*)giftOrderId currentVC:(nonnull UIViewController*)currentVC; | |
| 100 | +-(BOOL)skipReceivingGiftsVCWithGiftOrderId:(nullable NSString*)giftOrderId receivingValidTime:(NSTimeInterval)receivingValidTime currentVC:(nonnull UIViewController*)currentVC; | |
| 100 | 101 | |
| 101 | 102 | @end |
| 102 | 103 | ... | ... |
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Headers/DSOMyGivingGiftsListViewController.h
0 → 100644
| 1 | +// | |
| 2 | +// DSOMyGivingGiftsListViewController.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/9/21. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "DSCnliveShopSDKPBaseViewController.h" | |
| 10 | + | |
| 11 | +typedef NS_ENUM(NSUInteger, DSOMyGivingGiftsListDisplayType) { | |
| 12 | + DSOMyGivingGiftsListDisplayTypeReceiving = 0, //收礼 | |
| 13 | + DSOMyGivingGiftsListDisplayTypeGiving //送礼 | |
| 14 | +}; | |
| 15 | + | |
| 16 | +NS_ASSUME_NONNULL_BEGIN | |
| 17 | + | |
| 18 | +@interface DSOMyGivingGiftsListViewController : DSCnliveShopSDKPBaseViewController | |
| 19 | + | |
| 20 | +/** | |
| 21 | + 显示类型 | |
| 22 | + */ | |
| 23 | +@property (nonatomic,assign) DSOMyGivingGiftsListDisplayType displayType; | |
| 24 | + | |
| 25 | +@end | |
| 26 | + | |
| 27 | +NS_ASSUME_NONNULL_END | ... | ... |
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Info.plist
No preview for this file type
Example/Podfile
| ... | ... | @@ -20,13 +20,15 @@ target 'DSCnliveShopSDK_Example' do |
| 20 | 20 | pod 'Masonry', '1.1.0' |
| 21 | 21 | pod 'PLPlayerKit', '~> 3.4.3' |
| 22 | 22 | pod 'CNLiveRequestBastKit' |
| 23 | + pod 'CNLiveSDKs/CNLiveEncryptSDK' | |
| 24 | + pod 'CNLiveSDKs/CNLivePaySDK' | |
| 23 | 25 | |
| 24 | 26 | pod 'QMUIKit', ' 4.0.2' |
| 25 | 27 | pod 'YYKit', '1.0.9' |
| 26 | 28 | pod 'SDAutoLayout', '2.2.1' |
| 27 | 29 | |
| 28 | 30 | pod 'BKTimer', '~> 1.0.1' |
| 29 | - pod 'BKCycleScrollView', '~> 2.0.4' | |
| 31 | + pod 'BKCycleScrollView', '~> 2.0.6' | |
| 30 | 32 | pod 'BKPickerView', '~> 1.1.1' |
| 31 | 33 | |
| 32 | 34 | target 'DSCnliveShopSDK_Tests' do | ... | ... |