Commit 11113e8d78798b60311f9e0b6e18d8a0f88bcde9
礼物流程修改(未完成) 添加openInstall跳转方法 添加是否有未填写地址礼物检测方法 添加跳转礼物详情方法
Too many changes to show.
To preserve performance only 100 of 106 files are displayed.
| 1 | 1 | |
| 2 | 2 | Pod::Spec.new do |s| |
| 3 | 3 | s.name = 'DSCnliveShopSDK' |
| 4 | - s.version = '0.3.4.003' | |
| 4 | + s.version = '0.3.4.005' | |
| 5 | 5 | s.summary = 'cnlive电商SDK' |
| 6 | 6 | s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/DSCnliveShopSDK' |
| 7 | 7 | s.license = { :type => 'MIT', :file => 'LICENSE' } |
| ... | ... | @@ -30,7 +30,7 @@ Pod::Spec.new do |s| |
| 30 | 30 | s.dependency 'SDAutoLayout', '2.2.1' |
| 31 | 31 | |
| 32 | 32 | s.dependency 'BKTimer', '~> 1.0.1' |
| 33 | - s.dependency 'BKCycleScrollView', '~> 2.0.5' | |
| 33 | + s.dependency 'BKCycleScrollView', '~> 2.0.6' | |
| 34 | 34 | s.dependency 'BKPickerView', '~> 1.1.1' |
| 35 | 35 | |
| 36 | 36 | s.vendored_frameworks = 'DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework' | ... | ... |
210 Bytes
329 Bytes
225 Bytes
360 Bytes
134 Bytes
198 Bytes
139 Bytes
179 Bytes
255 KB
17.6 KB
30 KB
10.5 KB
16.8 KB
295 Bytes
520 Bytes
673 Bytes
929 Bytes
384 Bytes
625 Bytes
683 Bytes
1018 Bytes
814 Bytes
1.74 KB
52.2 KB
88.2 KB
5.96 KB
8.95 KB
397 Bytes
588 Bytes
7.89 KB
16.9 KB
912 Bytes
1.46 KB
3.63 KB
5.54 KB
579 Bytes
948 Bytes
779 Bytes
1.14 KB
277 Bytes
453 Bytes
371 Bytes
549 Bytes
647 Bytes
1.07 KB
2.82 KB
4.5 KB
1.78 KB
2.44 KB
1.55 KB
3.67 KB
1.32 KB
1.85 KB
1.75 KB
2.52 KB
1.78 KB
2.79 KB
1.61 KB
2.65 KB
482 Bytes
765 Bytes
754 Bytes
1.22 KB
5.47 KB
2.95 KB
4.55 KB
1019 Bytes
1.66 KB
128 Bytes
180 Bytes
2.21 KB
3.63 KB
410 Bytes
511 Bytes
1.12 KB
1.77 KB
657 Bytes
967 Bytes
842 Bytes
1.34 KB
607 Bytes
898 Bytes
1.3 KB
1.93 KB
1.11 KB
1.68 KB
1.26 KB
1.98 KB
627 Bytes
1.01 KB
18.1 KB
32.3 KB
| ... | ... | @@ -19,4 +19,10 @@ typedef NS_ENUM(NSUInteger, DSClearSTVCType) {//清除保存的目标控制器 |
| 19 | 19 | DSClearSTVCTypeLoginProcess, //登录流程保存的控制器 |
| 20 | 20 | }; |
| 21 | 21 | |
| 22 | +typedef NS_ENUM(NSUInteger, DSServiceSkipType) {//服务号跳转类型 | |
| 23 | + DSServiceSkipTypeReleaseInterface = 0, //跳转发布界面 | |
| 24 | + DSServiceSkipTypeOnlineGamesVC, //跳转线上赛事界面 | |
| 25 | + DSServiceSkipTypeGlobalGoodsShopVC, //跳转环球优物界面 | |
| 26 | +}; | |
| 27 | + | |
| 22 | 28 | #endif /* DSCnliveShopSDKEnum_h */ | ... | ... |
| ... | ... | @@ -88,7 +88,7 @@ NS_ASSUME_NONNULL_BEGIN |
| 88 | 88 | /// @param type 清除类型 |
| 89 | 89 | -(void)clearSavedTargetViewController:(DSClearSTVCType)type; |
| 90 | 90 | |
| 91 | -#pragma mark - 检测分享类型 | |
| 91 | +#pragma mark - 检测 | |
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | 94 | 检测分享类型 |
| ... | ... | @@ -99,6 +99,10 @@ NS_ASSUME_NONNULL_BEGIN |
| 99 | 99 | */ |
| 100 | 100 | -(NSInteger)checkShareTypeByShareUrl:(nonnull NSString*)shareUrl; |
| 101 | 101 | |
| 102 | +/// 检测是否有礼物 | |
| 103 | +/// @param completion 检测回调 | |
| 104 | +-(void)checkIsHaveGiftCompletion:(void (^)(BOOL isHave))completion; | |
| 105 | + | |
| 102 | 106 | #pragma mark - 跳转 |
| 103 | 107 | |
| 104 | 108 | /** | ... | ... |
| ... | ... | @@ -155,13 +155,10 @@ |
| 155 | 155 | |
| 156 | 156 | #pragma mark - 服务号 |
| 157 | 157 | |
| 158 | -/// 跳转发布界面 | |
| 159 | -/// @param currentVC 当前显示控制器 | |
| 160 | --(void)skipReleaseInterfaceWithCurrentViewController:(nonnull UIViewController*)currentVC; | |
| 161 | - | |
| 162 | -/// 跳转线上赛事界面 | |
| 163 | -/// @param vc 当前控制器 | |
| 164 | --(void)skipOnlineGamesVCWithFrom:(nonnull UIViewController*)vc; | |
| 158 | +/// 服务号跳转 | |
| 159 | +/// @param skipType 跳转目标 | |
| 160 | +/// @param fromVC 当前控制器 | |
| 161 | +-(void)serviceSkipWithSkipType:(DSServiceSkipType)skipType fromVC:(nonnull UIViewController*)fromVC; | |
| 165 | 162 | |
| 166 | 163 | @end |
| 167 | 164 | ... | ... |
| ... | ... | @@ -59,11 +59,12 @@ NS_ASSUME_NONNULL_BEGIN |
| 59 | 59 | /// 24 达人首页 to商家id 0不跳转 |
| 60 | 60 | /// 25 达人动态详情 to动态id 0不跳转 |
| 61 | 61 | /// 26 分享礼物订单详情 to订单id 0不跳转 shop_type礼物接收剩余有效时间 |
| 62 | -/// 27 优选库首页 to礼物订单id shop_type"{time:礼物接收剩余有效时间, uid:赠送人id}" | |
| 62 | +/// 27 优选库首页 | |
| 63 | 63 | /// 28 发布界面(原项目发现界面) |
| 64 | 64 | /// 29 线上赛事界面 |
| 65 | 65 | /// 30 服务号 to为url 0不跳转 |
| 66 | 66 | /// 31 附近美食 |
| 67 | +/// 32 环球优物 | |
| 67 | 68 | /// @param type 按着后台给的传 |
| 68 | 69 | /// @param to 按着后台给的传 |
| 69 | 70 | /// @param shopType 按着后台给的传 |
| ... | ... | @@ -74,7 +75,7 @@ NS_ASSUME_NONNULL_BEGIN |
| 74 | 75 | /// @param currentVC 当前控制器 |
| 75 | 76 | -(void)skipArRecognizeWithCurrentVC:(nonnull UIViewController*)currentVC; |
| 76 | 77 | |
| 77 | -/// 跳转 1.电商分享目标界面 2.通用链接目标界面 | |
| 78 | +/// 跳转 1.电商分享目标界面 2.通用链接目标界面 3.openInstall目标界面 | |
| 78 | 79 | /// @param shareUrl url |
| 79 | 80 | /// @param currentVC 当前显示控制器 |
| 80 | 81 | /// @return YES成功跳转 NO跳转失败,不是电商的分享 |
| ... | ... | @@ -91,6 +92,12 @@ NS_ASSUME_NONNULL_BEGIN |
| 91 | 92 | /// @param animated 是否有动画 |
| 92 | 93 | -(void)successLoggedSkipTargetVCWithCurrentVC:(nonnull UIViewController*)currentVC animated:(BOOL)animated; |
| 93 | 94 | |
| 95 | +/// 跳转收礼界面 | |
| 96 | +/// @param giftOrderId 礼物订单id 如果没传会自行获取没有填写地址订单的id,此为已登录的前提 | |
| 97 | +/// @param currentVC 当前控制器 | |
| 98 | +/// @return YES成功跳转 NO跳转失败,没有查到礼物订单id | |
| 99 | +-(BOOL)skipReceivingGiftsVCWithGiftOrderId:(nullable NSString*)giftOrderId currentVC:(nonnull UIViewController*)currentVC; | |
| 100 | + | |
| 94 | 101 | @end |
| 95 | 102 | |
| 96 | 103 | NS_ASSUME_NONNULL_END | ... | ... |