Commit 7d2039dec8cc2fb676fbc72777b3f11714ebf38c

Authored by 毕珂
1 parent 14648d2f

0.3.9.004 电商SDK业务模块化删除

Showing 40 changed files with 995 additions and 373 deletions
DSCnliveShopSDK.podspec
1 1  
2 2 Pod::Spec.new do |s|
3 3 s.name = 'DSCnliveShopSDK'
4   - s.version = '0.3.9.003'
  4 + s.version = '0.3.9.004'
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' }
... ... @@ -21,14 +21,13 @@ Pod::Spec.new do |s|
21 21 s.dependency 'SDWebImage', '~> 5.2.3'
22 22 s.dependency 'MJRefresh', '3.2.0'
23 23 s.dependency 'MJExtension', '3.2.1'
24   - s.dependency 'SAMKeychain', '1.5.3'
25 24 s.dependency 'MBProgressHUD', '1.1.0'
26   - s.dependency 'GPUImage', '0.1.7'
27 25 s.dependency 'Qiniu', '7.2.5'
28 26 s.dependency 'Masonry', '1.1.0'
29 27 s.dependency 'PLPlayerKit', '~> 3.4.3'
30 28 s.dependency 'QMUIKit', ' 4.0.2'
31 29 s.dependency 'YYKit', '1.0.9'
  30 + s.dependency 'IQKeyboardManager', '~> 6.3.0'
32 31 s.dependency 'SDAutoLayout', '2.2.1'
33 32  
34 33 s.dependency 'CNLiveRequestBastKit'
... ... @@ -37,20 +36,7 @@ Pod::Spec.new do |s|
37 36  
38 37 s.dependency 'YBImageBrowser_DSCnliveShop'
39 38 s.dependency 'DSBaseModuleF', '0.0.16'
40   - s.dependency 'DSToolsModuleF', '0.0.15'
41   - s.dependency 'DSCommonModuleF', '0.0.12'
42   - s.dependency 'DSPayModuleF', '0.0.8'
43   - s.dependency 'DSMapModuleF', '0.0.3'
44   - s.dependency 'DSWebViewModuleF', '0.0.7'
45   - s.dependency 'DSAddressModuleF', '0.0.3'
46   - s.dependency 'DSUserModuleF', '0.0.2'
47   - s.dependency 'DSQrCodeModuleF', '0.0.3'
48   - s.dependency 'DSARModuleF', '0.0.5'
49   - s.dependency 'DSShopModuleF', '0.0.3'
50   - s.dependency 'DSRepastModuleF', '0.0.3'
51   - s.dependency 'DSLifeServiceModuleF', '0.0.3'
52   - s.dependency 'DSHappinessModuleF', '0.0.4'
53   - s.dependency 'DSServiceModuleF', '0.0.3'
54   - s.dependency 'DSVideoContestModuleF', '0.0.3'
  39 + s.dependency 'DSToolsModuleF', '0.0.16'
  40 + s.dependency 'DSARModuleF', '0.0.9'
55 41  
56 42 end
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/DSCnliveShopSDK
No preview for this file type
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/DSCnliveShopSDK.bundle/Assets.car 0 → 100644
No preview for this file type
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/DSCnliveShopSDK.bundle/Info.plist 0 → 100644
No preview for this file type
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSAddrAreaModel.h 0 → 100644
  1 +//
  2 +// DSAddrAreaModel.h
  3 +// DSCnliveShopSDK
  4 +//
  5 +// Created by zhaolin on 2019/5/6.
  6 +// Copyright © 2019 BIKE. All rights reserved.
  7 +//
  8 +
  9 +#import <Foundation/Foundation.h>
  10 +
  11 +NS_ASSUME_NONNULL_BEGIN
  12 +
  13 +@interface DSAddrAreaModel : NSObject
  14 +
  15 +/**
  16 + id
  17 + */
  18 +@property (nonatomic,copy) NSString * id;
  19 +/**
  20 + 名称
  21 + */
  22 +@property (nonatomic,copy) NSString * name;
  23 +/**
  24 + 父级id(最上级为0)
  25 + */
  26 +@property (nonatomic,copy) NSString * pid;
  27 +/**
  28 + 1省 2市 3区(县)
  29 + */
  30 +@property (nonatomic,copy) NSString * level;
  31 +
  32 +@end
  33 +
  34 +NS_ASSUME_NONNULL_END
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSAddrSelectAreaViewController.h 0 → 100644
  1 +//
  2 +// DSAddrSelectAreaViewController.h
  3 +// DSCnliveShopSDK
  4 +//
  5 +// Created by zhaolin on 2019/5/6.
  6 +// Copyright © 2019 BIKE. All rights reserved.
  7 +//
  8 +
  9 +#import <DSBaseModule/DSBaseModule.h>
  10 +#import "DSAddressEnum.h"
  11 +
  12 +NS_ASSUME_NONNULL_BEGIN
  13 +
  14 +@interface DSAddrSelectAreaViewController : DSBaseViewController
  15 +
  16 +@property (nonatomic,assign) DSAddressStyle style;
  17 +
  18 +@property (nonatomic,copy) NSString * provinceId;
  19 +@property (nonatomic,copy) NSString * province;
  20 +@property (nonatomic,copy) NSString * cityId;
  21 +@property (nonatomic,copy) NSString * city;
  22 +@property (nonatomic,copy) NSString * areaId;
  23 +@property (nonatomic,copy) NSString * area;
  24 +
  25 +-(void)display;
  26 +
  27 +@property (nonatomic,copy) void (^finishSelectAreaCallBack)(void);
  28 +
  29 +@end
  30 +
  31 +NS_ASSUME_NONNULL_END
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSAddressEnum.h 0 → 100644
  1 +//
  2 +// DSAddressEnum.h
  3 +// DSCnliveShopSDK
  4 +//
  5 +// Created by zhaolin on 2019/8/23.
  6 +// Copyright © 2019 BIKE. All rights reserved.
  7 +//
  8 +
  9 +#ifndef DSAddressEnum_h
  10 +#define DSAddressEnum_h
  11 +
  12 +#import <Foundation/Foundation.h>
  13 +#import <UIKit/UIkit.h>
  14 +
  15 +typedef NS_ENUM(NSUInteger, DSAddressStyle) {
  16 + DSAddressStyleNormal = 0, //默认地址样式
  17 + DSAddressStyleShop, //电商
  18 + DSAddressStyleRepast, //餐厅
  19 +};
  20 +
  21 +#endif /* DSAddressEnum_h */
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSAddressModel.h 0 → 100644
  1 +//
  2 +// DSAddressModel.h
  3 +// iosZhaoLinNeighbouraide
  4 +//
  5 +// Created by 张魁 on 2017/3/14.
  6 +// Copyright © 2017年 BIKE. All rights reserved.
  7 +//
  8 +
  9 +#import <Foundation/Foundation.h>
  10 +
  11 +@interface DSAddressModel : NSObject
  12 +
  13 +/**
  14 + 地址id
  15 + */
  16 +@property (nonatomic,copy) NSString * id;
  17 +/**
  18 + 名称
  19 + */
  20 +@property (nonatomic,copy) NSString * name;
  21 +/**
  22 + 联系电话
  23 + */
  24 +@property (nonatomic,copy) NSString * phone;
  25 +/**
  26 + 用户填写的详细地址
  27 + */
  28 +@property (nonatomic,copy) NSString * write_address;
  29 +/**
  30 + 详细地址
  31 + */
  32 +@property (nonatomic,copy) NSString * address;
  33 +/**
  34 + 省id 0为没选择
  35 + */
  36 +@property (nonatomic,copy) NSString * province_id;
  37 +/**
  38 + 市id 0为没选择
  39 + */
  40 +@property (nonatomic,copy) NSString * city_id;
  41 +/**
  42 + 区县id 0为没选择
  43 + */
  44 +@property (nonatomic,copy) NSString * area_id;
  45 +/**
  46 + 2为默认地址 其他为普通
  47 + */
  48 +@property (nonatomic,assign) NSUInteger state;
  49 +/**
  50 + 用户id
  51 + */
  52 +@property (nonatomic,copy) NSString * uid;
  53 +/**
  54 + 省市县名称
  55 + */
  56 +@property (nonatomic,copy) NSString * city_name;
  57 +/**
  58 + 定位地址
  59 + */
  60 +@property (nonatomic,copy) NSString * position_address;
  61 +/**
  62 + 1男 2女
  63 + */
  64 +@property (nonatomic,assign) NSUInteger sex;
  65 +/**
  66 + 经度
  67 + */
  68 +@property (nonatomic,assign) double longitude;
  69 +/**
  70 + 纬度
  71 + */
  72 +@property (nonatomic,assign) double latitude;
  73 +
  74 +@end
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSAddressRequest.h 0 → 100644
  1 +//
  2 +// DSAddressRequest.h
  3 +// DSCnliveShopSDK
  4 +//
  5 +// Created by zhaolin on 2019/4/24.
  6 +// Copyright © 2019 BIKE. All rights reserved.
  7 +//
  8 +//
  9 +// 如果[errorMessage length]>0时为接口请求失败 当errorMessage=="网络不给力"时为接口请求失败 其余为接口请求成功,但是后台返回错误
  10 +//
  11 +
  12 +#import <Foundation/Foundation.h>
  13 +#import "DSAddressStateModel.h"
  14 +#import "DSAddrAreaModel.h"
  15 +
  16 +NS_ASSUME_NONNULL_BEGIN
  17 +
  18 +@interface DSAddressRequest : NSObject
  19 +
  20 +/**
  21 + 获取我的地址列表
  22 +
  23 + @param uid 用户id
  24 + @param storeId 店铺id 外卖用
  25 + @param result 回调
  26 + */
  27 ++(void)postMyAddressNewWithUid:(NSString*)uid storeId:(nullable NSString*)storeId result:(void (^)(DSAddressStateModel * model, NSString * errorMessage))result;
  28 +
  29 +/**
  30 + 获取地址详情
  31 +
  32 + @param addressId 地址id
  33 + @param result 地址详情
  34 + */
  35 ++(void)postAddressInfoWithAddressId:(NSString*)addressId result:(void (^)(DSAddressModel * model, NSString * errorMessage))result;
  36 +
  37 +/**
  38 + 获取省市县列表
  39 +
  40 + @param pid 对应级id
  41 + @param result 结果
  42 + */
  43 ++(void)postGetCityListWithPid:(NSString*)pid result:(void (^)(NSArray<DSAddrAreaModel*> * dataArr, NSString * errorMessage))result;
  44 +
  45 +/**
  46 + 添加地址
  47 +
  48 + @param uid 用户id
  49 + @param contactPhone 电话
  50 + @param contactName 名称
  51 + @param address 详细地址
  52 + @param positionAddress 定位的地址
  53 + @param provinceId 省id
  54 + @param cityId 市id
  55 + @param areaId 区(县)id
  56 + @param state 2默认地址 其他为普通
  57 + @param longitude 经度
  58 + @param latitude 纬度
  59 + @param sex 1 先生 2 女士
  60 + @param result 结果
  61 + */
  62 ++(void)postAddAddressNewWithUid:(NSString*)uid contactPhone:(NSString*)contactPhone contactName:(NSString*)contactName address:(NSString*)address positionAddress:(NSString*)positionAddress provinceId:(NSString*)provinceId cityId:(NSString*)cityId areaId:(NSString*)areaId state:(NSUInteger)state longitude:(double)longitude latitude:(double)latitude sex:(NSUInteger)sex result:(void (^)(DSAddressModel * model, NSString * errorMessage))result;
  63 +
  64 +/**
  65 + 修改地址
  66 +
  67 + @param addressId 地址id
  68 + @param uid 用户id
  69 + @param contactPhone 电话
  70 + @param contactName 名称
  71 + @param address 详细地址
  72 + @param provinceId 省id
  73 + @param cityId 市id
  74 + @param areaId 区(县)id
  75 + @param state 2默认地址 其他为普通
  76 + @param sex 1 先生 2 女士
  77 + @param positionAddress 定位的地址
  78 + @param longitude 经度
  79 + @param latitude 纬度
  80 + @param result 结果
  81 + */
  82 ++(void)postEditAddressNewWithAddressId:(NSString*)addressId uid:(NSString*)uid contactPhone:(nullable NSString*)contactPhone contactName:(nullable NSString*)contactName address:(nullable NSString*)address provinceId:(nullable NSString*)provinceId cityId:(nullable NSString*)cityId areaId:(nullable NSString*)areaId state:(NSUInteger)state sex:(NSUInteger)sex positionAddress:(nullable NSString*)positionAddress longitude:(double)longitude latitude:(double)latitude result:(void (^)(DSAddressModel * model, NSString * errorMessage))result;
  83 +
  84 +/**
  85 + 删除地址
  86 +
  87 + @param uid 用户id
  88 + @param addressId 地址id
  89 + @param result 回调
  90 + */
  91 ++(void)postDelAddressWithUid:(NSString*)uid addressId:(NSString*)addressId result:(void (^)(NSString * errorMessage))result;
  92 +
  93 +/**
  94 + 我的首选地址
  95 +
  96 + @param uid 用户id
  97 + @param storeId 店铺id 店铺id 外卖用
  98 + @param result 回调
  99 + */
  100 ++(void)postMyFirstAddressWithUid:(NSString*)uid storeId:(nullable NSString*)storeId result:(void (^)(DSAddressModel * addressModel, NSString * errorMessage))result;
  101 +
  102 +@end
  103 +
  104 +NS_ASSUME_NONNULL_END
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSAddressStateModel.h 0 → 100644
  1 +//
  2 +// DSAddressStateModel.h
  3 +// DSCnliveShopSDK
  4 +//
  5 +// Created by zhaolin on 2019/8/23.
  6 +// Copyright © 2019 BIKE. All rights reserved.
  7 +//
  8 +
  9 +#import <Foundation/Foundation.h>
  10 +#import "DSAddressModel.h"
  11 +
  12 +NS_ASSUME_NONNULL_BEGIN
  13 +
  14 +@interface DSAddressStateModel : NSObject
  15 +
  16 +/**
  17 + 可用地址
  18 + */
  19 +@property (nonatomic,copy) NSArray<DSAddressModel*> * enable;
  20 +/**
  21 + 不可用地址
  22 + */
  23 +@property (nonatomic,copy) NSArray<DSAddressModel*> * unable;
  24 +
  25 +@end
  26 +
  27 +NS_ASSUME_NONNULL_END
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSAddressTableViewCell.h 0 → 100644
  1 +//
  2 +// DSAddressTableViewCell.h
  3 +// iosZhaoLinNeighbouraide
  4 +//
  5 +// Created by 张魁 on 2017/2/20.
  6 +// Copyright © 2017年 张魁. All rights reserved.
  7 +//
  8 +
  9 +#import <DSBaseModule/DSBaseModule.h>
  10 +#import "DSAddressModel.h"
  11 +#import "DSAddressEnum.h"
  12 +
  13 +@interface DSAddressTableViewCell : DSTableViewCell
  14 +
  15 +#pragma mark - 赋值
  16 +
  17 +@property (nonatomic,strong,readonly) DSAddressModel * model;
  18 +@property (nonatomic,assign,readonly) DSAddressStyle addressStyle;
  19 +
  20 +-(void)setModel:(DSAddressModel*)model addressStyle:(DSAddressStyle)addressStyle;
  21 +
  22 +#pragma mark - 回调
  23 +
  24 +@property (nonatomic,copy) void (^clickEditCallBack)(DSAddressModel * addressModel);
  25 +@property (nonatomic,copy) void (^clickDeleteCallBack)(DSAddressModel * addressModel);
  26 +
  27 +@end
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSAddressViewController.h 0 → 100644
  1 +//
  2 +// DSAddressViewController.h
  3 +// iosZhaoLinNeighbouraide
  4 +//
  5 +// Created by 张魁 on 2017/2/20.
  6 +// Copyright © 2017年 张魁. All rights reserved.
  7 +//
  8 +
  9 +#import <DSBaseModule/DSBaseModule.h>
  10 +#import "DSAddressModel.h"
  11 +#import "DSAddressEnum.h"
  12 +
  13 +@interface DSAddressViewController : DSBaseViewController
  14 +
  15 +/**
  16 + 样式
  17 + */
  18 +@property (nonatomic,assign) DSAddressStyle style;
  19 +/**
  20 + 店铺id 餐厅传入
  21 + */
  22 +@property (nonatomic,copy) NSString * storeId;
  23 +/**
  24 + 上一次选取的地址 餐厅传入
  25 + */
  26 +@property (nonatomic,strong) DSAddressModel * lastSelectModel;
  27 +
  28 +#pragma mark - 回调
  29 +
  30 +/**
  31 + 选择地址对象回调 (有此方法才会点击cell返回上一页)
  32 + */
  33 +@property (nonatomic,copy) void (^selectAddressCallBack)(DSAddressModel *addressObj);
  34 +
  35 +@end
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSHappinessPCDemoViewController.h renamed to DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSAfterSaleListViewController.h
1 1 //
2   -// DSHappinessPCDemoViewController.h
  2 +// DSAfterSaleListViewController.h
3 3 // DSCnliveShopSDK
4 4 //
5   -// Created by zhaolin on 2019/8/21.
  5 +// Created by zhaolin on 2019/5/20.
6 6 // Copyright © 2019 BIKE. All rights reserved.
7 7 //
8 8  
... ... @@ -10,7 +10,12 @@
10 10  
11 11 NS_ASSUME_NONNULL_BEGIN
12 12  
13   -@interface DSHappinessPCDemoViewController : DSBaseViewController
  13 +@interface DSAfterSaleListViewController : DSBaseViewController
  14 +
  15 +/**
  16 + 是否需要导航条(默认不需要)
  17 + */
  18 +@property (nonatomic,assign) BOOL isNeedNavigationBar;
14 19  
15 20 @end
16 21  
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDK-umbrella.h
... ... @@ -10,27 +10,36 @@
10 10 #endif
11 11 #endif
12 12  
13   -#import "DSCnliveShopSDKMacro.h"
14   -#import "DSCnliveShopSDKPCH.h"
15   -#import "DSCnliveShopSDKRouter.h"
16   -#import "DSCommonDelegateImplementation.h"
17 13 #import "DSCnliveShopSDK.h"
18 14 #import "DSCnliveShopSDKCheck.h"
19 15 #import "DSCnliveShopSDKEnum.h"
20 16 #import "DSCnliveShopSDKManager.h"
21 17 #import "DSCnliveShopSDKProtocol.h"
  18 +#import "DSCnliveShopSDKProtocolUCM.h"
22 19 #import "DSCnliveShopSDKShareModel.h"
23 20 #import "DSCnliveShopSDKSkip.h"
  21 +#import "DSCommonConstant.h"
  22 +#import "DSOGiveGiftsViewController.h"
  23 +#import "DSOMyGivingGiftsListViewController.h"
  24 +#import "DSOGiftDetailsViewController.h"
  25 +#import "DSOGiftDetailsEnum.h"
  26 +#import "DSOrderListViewController.h"
  27 +#import "DSAfterSaleListViewController.h"
  28 +#import "DSAddressRequest.h"
  29 +#import "DSAddressViewController.h"
  30 +#import "DSAddrSelectAreaViewController.h"
  31 +#import "DSEditAddressViewController.h"
  32 +#import "DSAddrAreaModel.h"
  33 +#import "DSAddressEnum.h"
  34 +#import "DSAddressModel.h"
  35 +#import "DSAddressStateModel.h"
  36 +#import "DSAddressTableViewCell.h"
  37 +#import "DSEditAddressTableViewCell.h"
  38 +#import "DSRAddressTableViewCell.h"
  39 +#import "DSHappHPParentViewController.h"
  40 +#import "DSROrderListViewController.h"
  41 +#import "DSServiceHPViewController.h"
24 42 #import "DSCnliveShopSDKExampleListViewController.h"
25   -#import "DSHappinessPCDemoViewController.h"
26   -#import "DSPlayControlView.h"
27   -#import "DSPlayerMacro.h"
28   -#import "DSSlider.h"
29   -#import "DSStaticData.h"
30   -#import "DSSWCourseListViewController.h"
31   -#import "DSSWPlayViewController.h"
32   -#import "UIDevice+DSOrientation.h"
33   -#import "UIImage+UIColor.h"
34 43  
35 44 FOUNDATION_EXPORT double DSCnliveShopSDKVersionNumber;
36 45 FOUNDATION_EXPORT const unsigned char DSCnliveShopSDKVersionString[];
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDK.h
... ... @@ -4,13 +4,16 @@
4 4 //
5 5 // Created by zhaolin on 2019/4/13.
6 6 // Copyright © 2019年 BIKE. All rights reserved.
7   -// 当前版本0.3.9.003
  7 +// 当前版本0.3.9.004
8 8  
9 9 #import <UIKit/UIKit.h>
10 10  
11 11 FOUNDATION_EXPORT double DSCnliveShopSDKVersionNumber;
12 12 FOUNDATION_EXPORT const unsigned char DSCnliveShopSDKVersionString[];
13 13  
  14 +#import <DSBaseModule/DSBaseModule.h>
  15 +#import <DSToolsModule/DSToolsModule.h>
  16 +
14 17 #import "DSCnliveShopSDKManager.h"
15 18 #import "DSCnliveShopSDKSkip.h"
16 19 #import "DSCnliveShopSDKCheck.h"
... ... @@ -18,27 +21,26 @@ FOUNDATION_EXPORT const unsigned char DSCnliveShopSDKVersionString[];
18 21 #import "DSCnliveShopSDKShareModel.h"
19 22 #import "DSCnliveShopSDKEnum.h"
20 23  
21   -#import <DSCommonModule/DSCommonConstant.h>
22   -#import <DSCommonModule/DSCommonEnum.h>
  24 +#import "DSCommonConstant.h"
23 25  
24   -#import <DSShopModule/DSOGiveGiftsViewController.h>
25   -#import <DSShopModule/DSOMyGivingGiftsListViewController.h>
26   -#import <DSShopModule/DSOGiftDetailsViewController.h>
27   -#import <DSShopModule/DSOGiftDetailsEnum.h>
28   -#import <DSShopModule/DSOrderListViewController.h>
29   -#import <DSShopModule/DSAfterSaleListViewController.h>
  26 +#import "DSOGiveGiftsViewController.h"
  27 +#import "DSOMyGivingGiftsListViewController.h"
  28 +#import "DSOGiftDetailsViewController.h"
  29 +#import "DSOGiftDetailsEnum.h"
  30 +#import "DSOrderListViewController.h"
  31 +#import "DSAfterSaleListViewController.h"
30 32  
31   -#import <DSAddressModule/DSAddressRequest.h>
32   -#import <DSAddressModule/DSAddressEnum.h>
33   -#import <DSAddressModule/DSAddressStateModel.h>
34   -#import <DSAddressModule/DSAddressModel.h>
35   -#import <DSAddressModule/DSAddrAreaModel.h>
36   -#import <DSAddressModule/DSAddressViewController.h>
37   -#import <DSAddressModule/DSEditAddressViewController.h>
  33 +#import "DSAddressRequest.h"
  34 +#import "DSAddressEnum.h"
  35 +#import "DSAddressStateModel.h"
  36 +#import "DSAddressModel.h"
  37 +#import "DSAddrAreaModel.h"
  38 +#import "DSAddressViewController.h"
  39 +#import "DSEditAddressViewController.h"
38 40  
39   -#import <DSHappinessModule/DSHappHPParentViewController.h>
  41 +#import "DSHappHPParentViewController.h"
40 42  
41   -#import <DSRepastModule/DSROrderListViewController.h>
42   -#import <DSServiceModule/DSServiceHPViewController.h>
  43 +#import "DSROrderListViewController.h"
  44 +#import "DSServiceHPViewController.h"
43 45  
44 46 #import "DSCnliveShopSDKExampleListViewController.h"
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDKEnum.h
... ... @@ -19,4 +19,23 @@ typedef NS_ENUM(NSUInteger, DSClearSTVCType) {//皜靽蝐
19 19 DSClearSTVCTypeLoginProcess, //敶
20 20 };
21 21  
  22 +typedef NS_ENUM(NSUInteger, DSUMengCheckType) {//掩
  23 + DSUMengCheckTypeViewController = 0, //
  24 + DSUMengCheckTypeActionMethod, //辣瘜
  25 +};
  26 +
  27 +typedef NS_ENUM(NSUInteger, DSUMengCheckSLType) {//漣蝐餃
  28 + //
  29 + DSUMengCheckSLTypeServiceHP = 0, //擐△
  30 + //辣瘜
  31 + DSUMengCheckSLTypeServiceHPClickSearch, //擐△揣
  32 + DSUMengCheckSLTypeServiceHPClickItem, //擐△item
  33 +};
  34 +
  35 +typedef NS_ENUM(NSUInteger, DSServiceSkipType) {//頝唾蓮蝐餃
  36 + DSServiceSkipTypeReleaseInterface = 0, //頝唾蓮
  37 + DSServiceSkipTypeOnlineGamesVC, //頝唾蓮蝥蹂
  38 + DSServiceSkipTypeGlobalGoodsShopVC, //頝唾蓮
  39 +};
  40 +
22 41 #endif /* DSCnliveShopSDKEnum_h */
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDKMacro.h deleted 100644 → 0
1   -//
2   -// DSCnliveShopSDKMacro.h
3   -// DSCnliveShopSDK
4   -//
5   -// Created by zhaolin on 2020/3/5.
6   -//
7   -
8   -#ifndef DSCnliveShopSDKMacro_h
9   -#define DSCnliveShopSDKMacro_h
10   -
11   -//aes加密key
12   -#define DS_SHARE_AES_KEY @"cnlive!$@cnlive_"
13   -
14   -#endif /* DSCnliveShopSDKMacro_h */
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDKPCH.h deleted 100644 → 0
1   -//
2   -// DSCnliveShopSDKPCH.h
3   -// DSCnliveShopSDK
4   -//
5   -// Created by zhaolin on 2020/3/2.
6   -//
7   -
8   -#ifndef DSCnliveShopSDKPCH_h
9   -#define DSCnliveShopSDKPCH_h
10   -
11   -#import <DSBaseModule/DSBaseModule.h>
12   -#import <DSToolsModule/DSToolsModule.h>
13   -#import <DSCommonModule/DSCommonModule.h>
14   -
15   -#import "DSCnliveShopSDKMacro.h"
16   -#import "DSCnliveShopSDKRouter.h"
17   -#import "DSCommonDelegateImplementation.h"
18   -
19   -#endif /* DSCnliveShopSDKPCH_h */
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDKProtocolUCM.h 0 → 100644
  1 +//
  2 +// DSCnliveShopSDKProtocolUCM.h
  3 +// DSCnliveShopSDK
  4 +//
  5 +// Created by zhaolin on 2020/3/16.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +#import "DSCnliveShopSDKProtocol.h"
  10 +#import "DSCnliveShopSDKShareModel.h"
  11 +
  12 +NS_ASSUME_NONNULL_BEGIN
  13 +
  14 +@interface DSCnliveShopSDKProtocolUCM : NSObject
  15 +
  16 +#pragma mark - 跳转登录
  17 +
  18 +/// 跳转登录
  19 ++(void)skipLoginWithCurrentVC:(nonnull UIViewController*)currentVC;
  20 +
  21 +#pragma mark - 分享
  22 +
  23 +/// 分享事件
  24 +/// @param shareType 分享类型
  25 +/// @param shareId 分享物的id
  26 +/// @param ext 附加参数
  27 +/// @param isCanShareWjjLife 是否能分享网家家生活圈
  28 +/// @param isCanShareWjjFriend 是否能分享网家家好友
  29 +/// @param isCanShareSafari 是否能分享Safari
  30 +/// @param currentVC 当前控制器
  31 ++(void)shareType:(NSUInteger)shareType shareId:(nonnull NSString*)shareId ext:(nullable NSString*)ext isCanShareWjjLife:(BOOL)isCanShareWjjLife isCanShareWjjFriend:(BOOL)isCanShareWjjFriend isCanShareSafari:(BOOL)isCanShareSafari currentVC:(nonnull UIViewController*)currentVC;
  32 +
  33 +/**
  34 + 分享老达人
  35 +
  36 + @param darenId 达人id
  37 + @param shopName 达⼈店铺名称
  38 + @param darenHeader 达人头像
  39 + @param vc 当前控制器
  40 + */
  41 ++(void)shareWithDarenId:(nonnull NSString*)darenId shopName:(nonnull NSString*)shopName darenHeader:(nonnull NSString*)darenHeader vc:(nonnull UIViewController*)vc;
  42 +
  43 +#pragma mark - 跳转用户主页
  44 +
  45 +/// 跳转用户主页
  46 +/// @param userId 用户主页
  47 +/// @param userHeader 用户头像
  48 +/// @param shopName 用户名称
  49 +/// @param vc 当前控制器
  50 ++(void)skipUserHomePageWithUserId:(nonnull NSString *)userId userHeader:(nonnull NSString *)userHeader shopName:(nonnull NSString *)shopName vc:(nonnull UIViewController *)vc;
  51 +
  52 +#pragma mark - TIM
  53 +
  54 +/// 跳转TIM单聊
  55 +/// @param userId 用户id
  56 +/// @param userHeader 用户头像
  57 +/// @param userName 用户名称
  58 +/// @param fromVC 当前控制器
  59 ++(void)skipTIMChat:(nonnull NSString*)userId userHeader:(nonnull NSString*)userHeader userName:(nonnull NSString*)userName fromVC:(nonnull UIViewController*)fromVC;
  60 +
  61 +/// TIM检测是否互为好友
  62 +/// @param uid 用户id
  63 +/// @param result 结果
  64 ++(void)TIMCheckIsFriend:(nonnull NSString*)uid result:(nullable void (^)(BOOL flag))result;
  65 +
  66 +/// 跳转TIM群组聊天
  67 +/// @param groupId 群组id
  68 +/// @param groupName 群组名称
  69 +/// @param fromVC 当前控制器
  70 ++(void)skipTIMGroupChat:(nonnull NSString*)groupId groupName:(nonnull NSString*)groupName fromVC:(nonnull UIViewController*)fromVC;
  71 +
  72 +/// 跳转TIM群组详情
  73 +/// @param groupId 群组id
  74 +/// @param groupName 群组名称
  75 +/// @param fromVC 当前控制器
  76 ++(void)skipTIMGroupDetails:(nonnull NSString*)groupId groupName:(nonnull NSString*)groupName fromVC:(nonnull UIViewController*)fromVC;
  77 +
  78 +/// 跳转TIM群组聊天信息
  79 +/// @param groupId 群组id
  80 +/// @param groupName 群组名称
  81 +/// @param fromVC 当前控制器
  82 ++(void)skipTIMGroupMessage:(nonnull NSString*)groupId groupName:(nonnull NSString*)groupName fromVC:(nonnull UIViewController*)fromVC;
  83 +
  84 +#pragma mark - 友盟
  85 +
  86 +/// 友盟统计
  87 +/// @param checkType 统计类型
  88 +/// @param subType 统计子类型
  89 ++(void)uMengCheckCallBackType:(DSUMengCheckType)checkType subType:(DSUMengCheckSLType)subType;
  90 +
  91 +#pragma mark - 服务号跳转
  92 +
  93 +/// 服务号跳转
  94 +/// @param skipType 跳转目标
  95 +/// @param fromVC 当前控制器
  96 ++(void)serviceSkipWithSkipType:(DSServiceSkipType)skipType fromVC:(nonnull UIViewController*)fromVC;
  97 +
  98 +#pragma mark - (一部)url跳转
  99 +
  100 +/// (一部)url跳转
  101 +/// @param url url链接
  102 +/// @param fromVC 当前控制器
  103 ++(void)skipByUrl:(nonnull NSString*)url fromVC:(nonnull UIViewController*)fromVC;
  104 +
  105 +#pragma mark - 支付
  106 +
  107 +/// 显示添加金币界面
  108 +/// @param count 金币数
  109 +/// @param desc 描述
  110 ++(void)displayAddGoldConinsViewWithCount:(nonnull NSString*)count desc:(nonnull NSString*)desc;
  111 +
  112 +/// 跳转设置密码控制器
  113 +/// @param currentVC 当前控制器
  114 ++(void)skipSetPasswordVCWithCurrentVC:(nonnull UIViewController*)currentVC;
  115 +
  116 +/// 跳转忘记密码控制器
  117 +/// @param currentVC 当前控制器
  118 ++(void)skipForgetPasswordVCWithCurrentVC:(nonnull UIViewController*)currentVC;
  119 +
  120 +#pragma mark - 电商中国
  121 +
  122 +/**
  123 + 预览图片
  124 +
  125 + @param imageUrlsArr 图⽚ url
  126 + @param thumbUrlsArr 缩略图 url
  127 + @param imageViews 将要显示的所有 imageView
  128 + @param selectView 当前选中的 imageView
  129 + @param index 当前点击图⽚的索引
  130 + @param vc 当前控制器
  131 + @param isCollect 当前预览图片是否支持收藏
  132 + @param text 内容描述(isCollect == NO时 为nil)
  133 + @param userId 达人 ID(isCollect == NO时 为nil)
  134 + @param itemId 动态 ID(isCollect == NO时 为nil)
  135 + */
  136 ++(void)previewImageUrlsArr:(nonnull NSArray*)imageUrlsArr thumbUrlsArr:(nonnull NSArray*)thumbUrlsArr imageViews:(nonnull NSArray*)imageViews selectView:(nonnull UIImageView*)selectView index:(NSUInteger)index vc:(nonnull UIViewController*)vc isCollect:(BOOL)isCollect text:(nullable NSString*)text userId:(nullable NSString*)userId itemId:(nullable NSString*)itemId;
  137 +
  138 +/**
  139 + 预览视频
  140 +
  141 + @param videoUrl 视频播放地址(vId 或 url)
  142 + @param currentImageView 当前选择视频的占位 imageView
  143 + @param vc 当前控制器
  144 + @param isCollect 当前预览图⽚是否支持收藏
  145 + @param text 内容描述(isCollect == NO时 为nil)
  146 + @param imageUrl 视频占位图地址(isCollect == NO时 为nil)
  147 + @param userId 达⼈ ID(isCollect == NO时 为nil)
  148 + @param itemId 动态 ID(isCollect == NO时 为nil)
  149 + */
  150 ++(void)previewVideoUrl:(nonnull NSString*)videoUrl currentImageView:(nonnull UIImageView*)currentImageView vc:(nonnull UIViewController*)vc isCollect:(BOOL)isCollect text:(nullable NSString*)text imageUrl:(nullable NSString*)imageUrl userId:(nullable NSString*)userId itemId:(nullable NSString*)itemId;
  151 +
  152 +/**
  153 + 电商中国导航颜色变化通知
  154 +
  155 + @param statusState 状态栏文字颜色 0-->白色,1-->黑色
  156 + @param naviBackgroundColor 导航背景颜色
  157 + @param naviNormalTitleColor 导航未选中的文字颜色
  158 + @param naviSelectTitleColor 导航选中的文字颜色
  159 + */
  160 ++(void)happinessHomepageChangeNaviPropertyActionWithStatusState:(NSUInteger)statusState naviBackgroundColor:(nonnull NSString *)naviBackgroundColor naviNormalTitleColor:(nonnull NSString *)naviNormalTitleColor naviSelectTitleColor:(nonnull NSString *)naviSelectTitleColor;
  161 +
  162 +@end
  163 +
  164 +NS_ASSUME_NONNULL_END
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSCommonConstant.h 0 → 100644
  1 +//
  2 +// DSCommonConstant.h
  3 +// DSCommonModule
  4 +//
  5 +// Created by zhaolin on 2020/3/8.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +
  10 +#pragma mark - 常量
  11 +#pragma mark - 存储
  12 +UIKIT_EXTERN NSString * const kDSSaveShopSearchHistroyData;//储存商城历史搜索列表
  13 +
  14 +#pragma mark - 通知
  15 +#pragma mark - 用户
  16 +UIKIT_EXTERN NSString * const kDSChangeUserNotification;//用户修改通知 object为用户id
  17 +
  18 +#pragma mark - 支付
  19 +UIKIT_EXTERN NSString * const kDSSuccessPayOrderNotification;//支付订单成功通知 object为订单id
  20 +
  21 +#pragma mark - 商城订单
  22 +UIKIT_EXTERN NSString * const kDSDeleteOrderNotification;//删除订单通知
  23 +UIKIT_EXTERN NSString * const kDSFinishOrderNotification;//完成订单通知
  24 +UIKIT_EXTERN NSString * const kDSCancelOrderNotification;//取消订单通知 object为订单id
  25 +UIKIT_EXTERN NSString * const kDSRefundOrderNotification;//申请订单退款通知 userInfo为@{@"orderId":@"订单id", @"refundId":@"退款id"}
  26 +UIKIT_EXTERN NSString * const kDSEditRefundOrderNotification;//修改订单退款通知
  27 +UIKIT_EXTERN NSString * const kDSCancelRefundOrderNotification;//取消订单退款通知 object为订单id
  28 +UIKIT_EXTERN NSString * const kDSOrderApplyAfterSaleNotification;//申请订单售后通知
  29 +UIKIT_EXTERN NSString * const kDSOrderEditAfterSaleNotification;//修改订单售后通知
  30 +UIKIT_EXTERN NSString * const kDSOrderCancelAfterSaleNotification;//取消订单售后通知
  31 +UIKIT_EXTERN NSString * const kDSGiftOrderWriteAddressNotification;//礼物填写地址通知 object为订单id
  32 +
  33 +#pragma mark - 餐厅订单
  34 +UIKIT_EXTERN NSString * const kDSChangeRepastShopCartNotification;//修改餐厅购物车商品数量通知 userInfo为@{@"storeId":@"餐厅门店id", @"goodsId":@"商品id", @"changeCount":@(修改的数量), @"shopCartModel":[DSRSSelectMenuShopCartModel class], @"type":@(1外卖点餐, 2到店就餐)}
  35 +UIKIT_EXTERN NSString * const kDSClearRepastShopCartNotification;//清空餐厅购物车商品通知 userInfo为@{@"storeId":@"餐厅门店id", @"type":@(1外卖点餐,2到店就餐)}
  36 +UIKIT_EXTERN NSString * const kDSSuccessPayRepastOrderNotification;//支付餐厅订单通知 object为订单id
  37 +UIKIT_EXTERN NSString * const kDSCancelRepastOrderNotification;//餐厅取消除订单通知 object为订单id
  38 +UIKIT_EXTERN NSString * const kDSRefundRepastOrderNotification;//餐厅订单退款通知 object为订单id
  39 +UIKIT_EXTERN NSString * const kDSDeleteRepastOrderNotification;//餐厅删除订单通知 object为订单id
  40 +UIKIT_EXTERN NSString * const kDSConfirmDeliveryRepastOrderNotification;//餐厅确认送达订单通知 object为订单id
  41 +UIKIT_EXTERN NSString * const kDSComplaintRepastOrderNotification;//餐厅投诉订单通知 object为订单id
  42 +UIKIT_EXTERN NSString * const kDSCancelComplaintRepastOrderNotification;//餐厅取消投诉订单通知 object为订单id
  43 +UIKIT_EXTERN NSString * const kDSSuccessValidateRepastOrderNotification;//成功核销餐厅订单通知 object为订单id
  44 +
  45 +#pragma mark - 生活服务订单
  46 +UIKIT_EXTERN NSString * const kDSLSSuccessPayOrderNotification;//生活服务支付订单成功通知
  47 +UIKIT_EXTERN NSString * const kDSLSAuditionSuccessNotification;//生活服务面试成功通知
  48 +UIKIT_EXTERN NSString * const kDSLSFinishOrderNotification;//生活服务服务完成通知
  49 +UIKIT_EXTERN NSString * const kDSLSCancelOrderNotification;//生活服务取消订单通知
  50 +UIKIT_EXTERN NSString * const kDSLSDeleteOrderNotification;//生活服务删除订单通知
  51 +UIKIT_EXTERN NSString * const kDSLSOrderApplyRefundNotification;//生活服务申请退款通知
  52 +UIKIT_EXTERN NSString * const kDSLSOrderCancelRefundNotification;//生活服务取消退款通知
  53 +
  54 +#pragma mark - 新达人
  55 +UIKIT_EXTERN NSString * const kDSDarenAttentionNotification;//达人关注通知 object为DSHPDRFansListModel userInfo为@{@"isAttention":@(YES为关注, NO为取消取消)}
  56 +UIKIT_EXTERN NSString * const kDSDarenSupportDynamicNotification;//达人动态点赞/取消点赞通知 userInfo为@{@"id":@"动态id", @"isSupport":@(YES为点赞, NO为取消点赞), @"count":@(点赞数量)}
  57 +UIKIT_EXTERN NSString * const kDSDarenReleaseDynamicNotification;//达人发布动态通知
  58 +
  59 +#pragma mark - 老达人(原一部达人)
  60 +UIKIT_EXTERN NSString * const kDSHPAttentDarenNotification;//关注/取消关注达人通知 object为达人id
  61 +
  62 +#pragma mark - 视频播放开关
  63 +UIKIT_EXTERN NSString * const kDSSwitchOffVideoPlayerNotification;//停止播放视频,且不允许播放视频
  64 +UIKIT_EXTERN NSString * const kDSSwitchOnVideoPlayerNotification;//允许播放视频
  65 +
  66 +#pragma mark - 收货地址
  67 +UIKIT_EXTERN NSString * const kDSAddAddressNotification;//添加地址通知 object为地址model<DSAddressModel>
  68 +UIKIT_EXTERN NSString * const kDSEditAddressNotification;//修改地址通知 object为地址model<DSAddressModel>
  69 +UIKIT_EXTERN NSString * const kDSDeleteAddressNotification;//删除地址通知 object为地址id
  70 +
  71 +#pragma mark - 电商中国首页
  72 +UIKIT_EXTERN NSString * const kDSHappinessPageControlScrollEnableNotification;//首页分页控制器在显示电商中国时是否可以滑动 [object boolValue] YES可以滑动 NO不可以滑动
  73 +
  74 +#pragma mark - 分享
  75 +UIKIT_EXTERN NSString * const kDSShareSuccessNotification;//分享成功通知 object为分享的数据字典<DSCnliveShopSDKShareModel转字典>
  76 +UIKIT_EXTERN NSString * const kDSShareFailureNotification;//分享失败通知 object为分享的数据字典<DSCnliveShopSDKShareModel转字典>
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSCommonDelegateImplementation.h deleted 100644 → 0
1   -//
2   -// DSCommonDelegateImplementation.h
3   -// DSCnliveShopSDK
4   -//
5   -// Created by zhaolin on 2020/3/9.
6   -//
7   -
8   -#import <Foundation/Foundation.h>
9   -
10   -NS_ASSUME_NONNULL_BEGIN
11   -
12   -@interface DSCommonDelegateImplementation : NSObject
13   -
14   -#pragma mark - 公开方法
15   -
16   -/// 跳转登录
17   -/// @param currentVC 当前所在控制器
18   -+(void)skipLoginWithCurrentVC:(nonnull UIViewController*)currentVC;
19   -
20   -@end
21   -
22   -NS_ASSUME_NONNULL_END
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSEditAddressTableViewCell.h 0 → 100644
  1 +//
  2 +// DSEditAddressTableViewCell.h
  3 +// iosZhaoLinNeighbouraide
  4 +//
  5 +// Created by 张魁 on 2017/2/21.
  6 +// Copyright © 2017年 张魁. All rights reserved.
  7 +//
  8 +
  9 +#import <DSBaseModule/DSBaseModule.h>
  10 +#import "DSAddressModel.h"
  11 +#import "DSAddressEnum.h"
  12 +
  13 +@interface DSEditAddressTableViewCell : DSTableViewCell
  14 +
  15 +#pragma mark - UI
  16 +
  17 +@property (nonatomic,strong) UILabel * markTitleLab;
  18 +@property (nonatomic,strong) UITextField * contentTextField;
  19 +@property (nonatomic,strong) UIView * sexView; //tag=1为先生 tag=2为女士
  20 +@property (nonatomic,strong) DSImageView * rightImageView;
  21 +
  22 +#pragma mark - 赋值
  23 +
  24 +@property (nonatomic,strong,readonly) DSAddressModel * model;
  25 +@property (nonatomic,assign,readonly) DSAddressStyle style;
  26 +
  27 +-(void)setModel:(DSAddressModel *)model style:(DSAddressStyle)style;
  28 +
  29 +#pragma mark - 回调
  30 +
  31 +/**
  32 + 切换性别回调 sex=1为先生 sex=2为女士
  33 + */
  34 +@property (nonatomic,copy) void (^switchSexCallBack)(NSUInteger sex);
  35 +
  36 +@end
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSEditAddressViewController.h 0 → 100644
  1 +//
  2 +// ZKEditAddressViewController.h
  3 +// iosZhaoLinNeighbouraide
  4 +//
  5 +// Created by 张魁 on 2017/2/21.
  6 +// Copyright © 2017年 张魁. All rights reserved.
  7 +//
  8 +
  9 +#import <DSBaseModule/DSBaseModule.h>
  10 +#import "DSAddressEnum.h"
  11 +
  12 +@interface DSEditAddressViewController : DSBaseViewController
  13 +
  14 +/**
  15 + 地址id 根据地址id有还是没有来判断是否是编辑还是添加
  16 + */
  17 +@property (nonatomic,copy) NSString * addressId;
  18 +/**
  19 + 样式
  20 + */
  21 +@property (nonatomic,assign) DSAddressStyle style;
  22 +
  23 +@end
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSHappHPParentViewController.h 0 → 100644
  1 +//
  2 +// DSHappHPParentViewController.h
  3 +// DSCnliveShopSDK
  4 +//
  5 +// Created by zhaolin on 2019/4/13.
  6 +// Copyright © 2019年 BIKE. All rights reserved.
  7 +//
  8 +
  9 +#import <DSBaseModule/DSBaseModule.h>
  10 +
  11 +NS_ASSUME_NONNULL_BEGIN
  12 +
  13 +@interface DSHappHPParentViewController : DSBaseViewController
  14 +
  15 +/**
  16 + 创建
  17 +
  18 + @param isDisplayNav 是否显示导航
  19 + @return DSHappHPViewController
  20 + */
  21 +-(instancetype)initWithIsDisplayNav:(BOOL)isDisplayNav;
  22 +
  23 +-(void)isNeedTorefresh;
  24 +
  25 +@end
  26 +
  27 +NS_ASSUME_NONNULL_END
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSOGiftDetailsEnum.h 0 → 100644
  1 +//
  2 +// DSOGiftDetailsEnum.h
  3 +// DSCnliveShopSDK
  4 +//
  5 +// Created by zhaolin on 2019/12/2.
  6 +// Copyright © 2019 BIKE. All rights reserved.
  7 +//
  8 +
  9 +#ifndef DSOGiftDetailsEnum_h
  10 +#define DSOGiftDetailsEnum_h
  11 +
  12 +typedef NS_ENUM(NSUInteger, DSOGiftDetailsStyle) {
  13 + DSOGiftDetailsStyleGiving = 0, //赠送
  14 + DSOGiftDetailsStyleReceiving, //接收
  15 +};
  16 +
  17 +typedef NS_ENUM(NSUInteger, DSOGiftDetailsPresentAlertStyle) {
  18 + DSOGiftDetailsPresentAlertStyleNone = 0, //没有弹框
  19 + DSOGiftDetailsPresentAlertStyleShare, //分享弹框
  20 + DSOGiftDetailsPresentAlertStyleNoPay //没支付弹框
  21 +};
  22 +
  23 +#endif /* DSOGiftDetailsEnum_h */
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSOGiftDetailsViewController.h 0 → 100644
  1 +//
  2 +// DSOGiftDetailsViewController.h
  3 +// DSCnliveShopSDK
  4 +//
  5 +// Created by zhaolin on 2019/11/19.
  6 +// Copyright © 2019 BIKE. All rights reserved.
  7 +//
  8 +
  9 +#import <DSBaseModule/DSBaseModule.h>
  10 +#import "DSOGiftDetailsEnum.h"
  11 +
  12 +NS_ASSUME_NONNULL_BEGIN
  13 +
  14 +@interface DSOGiftDetailsViewController : DSBaseViewController
  15 +
  16 +/// 是否隐藏我的礼盒
  17 +@property (nonatomic,assign) BOOL isHideMyGifts;
  18 +/// 订单id
  19 +@property (nonatomic,copy) NSString * orderId;
  20 +/// 是否弹弹框(传对应类型弹对应类型弹框)
  21 +@property (nonatomic,assign) DSOGiftDetailsPresentAlertStyle presentAlertStyle;
  22 +
  23 +@end
  24 +
  25 +NS_ASSUME_NONNULL_END
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSOGiveGiftsViewController.h 0 → 100644
  1 +//
  2 +// DSOGiveGiftsViewController.h
  3 +// DSCnliveShopSDK
  4 +//
  5 +// Created by zhaolin on 2019/9/19.
  6 +// Copyright © 2019 BIKE. All rights reserved.
  7 +//
  8 +
  9 +#import <DSBaseModule/DSBaseModule.h>
  10 +
  11 +typedef NS_ENUM(NSUInteger, DSOGiveGiftsStyle) {
  12 + DSOGiveGiftsStyleGiving = 0, //送礼样式
  13 + DSOGiveGiftsStyleReceiving, //收礼样式
  14 +};
  15 +
  16 +NS_ASSUME_NONNULL_BEGIN
  17 +
  18 +@interface DSOGiveGiftsViewController : DSBaseViewController
  19 +
  20 +#pragma mark - 属性
  21 +
  22 +/**
  23 + 商品id style == DSOGiveGiftsStyleGiving时用
  24 + */
  25 +@property (nonatomic,copy) NSString * goodsId;
  26 +/**
  27 + 订单id style == DSOGiveGiftsStyleReceiving时用
  28 + */
  29 +@property (nonatomic,copy) NSString * orderId;
  30 +/**
  31 + 能接收礼物的截止时间 style == DSOGiveGiftsStyleReceiving时用
  32 + */
  33 +@property (nonatomic,assign) NSTimeInterval receivingValidTime;
  34 +/// 收礼人uid 从h5跳转入app需要传receivingUid来判断在h5收礼的人和登录收礼的人一不一致
  35 +@property (nonatomic,copy,nullable) NSString * receivingUid;
  36 +/// 是否隐藏我的礼盒
  37 +@property (nonatomic,assign) BOOL isHideMyGifts;
  38 +
  39 +#pragma mark - 创建方法
  40 +
  41 +/**
  42 + 样式
  43 + */
  44 +@property (nonatomic,assign,readonly) DSOGiveGiftsStyle style;
  45 +
  46 +/**
  47 + 创建方法
  48 +
  49 + @param style 样式
  50 + @return DSOGiveGiftsViewController
  51 + */
  52 +-(instancetype)initWithStyle:(DSOGiveGiftsStyle)style;
  53 +
  54 +@end
  55 +
  56 +NS_ASSUME_NONNULL_END
... ...
DSCnliveShopSDK/Frameworks/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 <DSBaseModule/DSBaseModule.h>
  10 +
  11 +typedef NS_ENUM(NSUInteger, DSOMyGivingGiftsListDisplayType) {
  12 + DSOMyGivingGiftsListDisplayTypeReceiving = 0, //收礼
  13 + DSOMyGivingGiftsListDisplayTypeGiving //送礼
  14 +};
  15 +
  16 +NS_ASSUME_NONNULL_BEGIN
  17 +
  18 +@interface DSOMyGivingGiftsListViewController : DSBaseViewController
  19 +
  20 +/**
  21 + 显示类型
  22 + */
  23 +@property (nonatomic,assign) DSOMyGivingGiftsListDisplayType displayType;
  24 +
  25 +@end
  26 +
  27 +NS_ASSUME_NONNULL_END
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSOrderListViewController.h 0 → 100644
  1 +//
  2 +// DSOrderListViewController.h
  3 +// iosZhaoLinNeighbouraide
  4 +//
  5 +// Created by 张魁 on 2017/2/24.
  6 +// Copyright © 2017年 张魁. All rights reserved.
  7 +//
  8 +
  9 +#import <DSBaseModule/DSBaseModule.h>
  10 +
  11 +typedef NS_ENUM(NSUInteger, DSOrderListDisplay) {
  12 + DSOrderListDisplayTotal = 0, //全部
  13 + DSOrderListDisplayWaitingPayment, //待付款
  14 + DSOrderListDisplayWaitingShipment, //待发货
  15 + DSOrderListDisplayWaitingReceiving, //待收货
  16 +};
  17 +
  18 +@interface DSOrderListViewController : DSBaseViewController
  19 +
  20 +/**
  21 + 是否需要导航条(默认不需要)
  22 + */
  23 +@property (nonatomic,assign) BOOL isNeedNavigationBar;
  24 +/**
  25 + 查看界面
  26 + */
  27 +@property (nonatomic,assign) DSOrderListDisplay display;
  28 +/**
  29 + 电商目录背景颜色(默认白色)
  30 + */
  31 +@property (nonatomic,strong) UIColor * menuColor;
  32 +
  33 +@end
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSPlayControlView.h deleted 100644 → 0
1   -//
2   -// DSPlayControlView.h
3   -// DSSocialWorkCloud
4   -//
5   -// Created by admin on 2020/1/14.
6   -// Copyright © 2020 CNLive. All rights reserved.
7   -//
8   -
9   -#import <UIKit/UIKit.h>
10   -
11   -#import <AVKit/AVKit.h>
12   -
13   -#import "DSPlayerMacro.h"
14   -
15   -UIKIT_EXTERN const float kDSPlayerAnimateTimeInterval;//动画时间
16   -
17   -typedef enum _PlayMenuType
18   -{
19   - PlayMenuTypeRate = 0,
20   - PlayMenuTypeFluence,
21   - PlayMenuTypeCourse
22   -}PlayMenuType;
23   -
24   -NS_ASSUME_NONNULL_BEGIN
25   -
26   -@protocol DSPlayControlViewDelegate <NSObject>
27   -
28   -- (void)playControlWillBack;
29   -
30   -- (void)playControlChangeOrientation:(UIInterfaceOrientation)orientation;
31   -
32   -- (void)playControlWillShowMenu:(PlayMenuType)menuType;
33   -
34   -- (void)playControlWillPlayNext;
35   -
36   -
37   -@end
38   -
39   -@interface DSPlayControlView : UIView
40   -
41   -@property (nonatomic, assign) BOOL viewEnabled;
42   -
43   -@property (nonatomic, strong) UIView * bottomMenuView;
44   -
45   -// 横屏竖屏
46   -@property (nonatomic, strong) DSNavButton * changeOrientationBtn;
47   -
48   -@property (nonatomic, weak) id <DSPlayControlViewDelegate> delegate;
49   -
50   -- (void)changePlayOrientation:(UIInterfaceOrientation)orientation;
51   -
52   -- (void)playUrl:(NSString *)urlString;
53   -
54   -- (void)setPlayRate:(CGFloat)rate;
55   -
56   -- (void)pausePlay;
57   -
58   -- (void)removePlayer;
59   -
60   -- (void)setVolume:(CGFloat)volumeValue;
61   -
62   -- (CGFloat)getVolumeValue;
63   -
64   -- (void)asyncSeekToTime:(CGFloat)secondTime;
65   -
66   -@end
67   -
68   -NS_ASSUME_NONNULL_END
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSPlayerMacro.h deleted 100644 → 0
1   -//
2   -// DSPlayerMacro.h
3   -// DSCnliveShopSDK
4   -//
5   -// Created by admin on 2020/2/14.
6   -// Copyright © 2020 BIKE. All rights reserved.
7   -//
8   -
9   -#ifndef DSPlayerMacro_h
10   -#define DSPlayerMacro_h
11   -
12   -#define kTagNowOrientationPortrait @"kTagNowOrientationPortrait"
13   -#define kTagNowOrientationLandscape @"kTagNowOrientationUpsideDown"
14   -
15   -// SCREEN_HEIGHT 屏幕高度
16   -#define SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height
17   -// SCREEN_WIDTH 屏幕宽度
18   -#define SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width
19   -
20   -#define SWRightMenuHeight SCREEN_HEIGHT-65
21   -
22   -#define SWRightPortraitHeight SCREEN_WIDTH/5*3
23   -
24   -#define PortraitStartY 5
25   -#define LandScapeStartY 20
26   -#define RightMenuWidth SCREEN_WIDTH/5
27   -#define RightMenuStartX SCREEN_WIDTH/5*4
28   -
29   -#define DS_ISIPHONEX \
30   -({BOOL isPhoneX = NO;\
31   -if (@available(iOS 11.0, *)) {\
32   -isPhoneX = [[UIApplication sharedApplication] delegate].window.safeAreaInsets.bottom > 0.0;\
33   -}\
34   -(isPhoneX);})
35   -
36   -#define WeakSelf __weak typeof(self) weakSelf = self;
37   -
38   -
39   -#endif /* DSPlayerMacro_h */
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSRAddressTableViewCell.h 0 → 100644
  1 +//
  2 +// DSRAddressTableViewCell.h
  3 +// DSCnliveShopSDK
  4 +//
  5 +// Created by zhaolin on 2019/7/26.
  6 +// Copyright © 2019 BIKE. All rights reserved.
  7 +//
  8 +
  9 +#import <DSBaseModule/DSBaseModule.h>
  10 +#import "DSAddressModel.h"
  11 +
  12 +NS_ASSUME_NONNULL_BEGIN
  13 +
  14 +@interface DSRAddressTableViewCell : DSTableViewCell
  15 +
  16 +#pragma mark - 赋值
  17 +
  18 +@property (nonatomic,strong,readonly) DSAddressModel * model;
  19 +@property (nonatomic,assign,readonly) BOOL isSelect;
  20 +@property (nonatomic,assign,readonly) BOOL isCanSelect;
  21 +
  22 +-(void)setModel:(DSAddressModel*)model isSelect:(BOOL)isSelect isCanSelect:(BOOL)isCanSelect;
  23 +
  24 +#pragma mark - 回调
  25 +
  26 +/**
  27 + 点击编辑回调
  28 + */
  29 +@property (nonatomic,copy) void (^clickEditCallBack)(DSAddressModel * model);
  30 +
  31 +@end
  32 +
  33 +NS_ASSUME_NONNULL_END
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSROrderListViewController.h 0 → 100644
  1 +//
  2 +// DSROrderListViewController.h
  3 +// guoguanjuyanglao
  4 +//
  5 +// Created by 兆林 on 2017/5/19.
  6 +// Copyright © 2017年 zhaolin. All rights reserved.
  7 +//
  8 +
  9 +#import <DSBaseModule/DSBaseModule.h>
  10 +
  11 +typedef NS_ENUM(NSUInteger, DSROrderListDisplay) {
  12 + DSROrderListDisplayTotal = 0, //全部
  13 + DSROrderListDisplayFinish, //待付款
  14 + DSROrderListDisplayCancel //待发货
  15 +};
  16 +
  17 +@interface DSROrderListViewController : DSBaseViewController
  18 +
  19 +/**
  20 + 查看界面
  21 + */
  22 +@property (nonatomic,assign) DSROrderListDisplay display;
  23 +/**
  24 + 是否需要导航条(默认不需要)
  25 + */
  26 +@property (nonatomic,assign) BOOL isNeedNavigationBar;
  27 +/**
  28 + 餐厅目录背景颜色(默认白色)
  29 + */
  30 +@property (nonatomic,strong) UIColor * menuColor;
  31 +
  32 +@end
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSSWCourseListViewController.h deleted 100644 → 0
1   -//
2   -// DSSWCourseListViewController.h
3   -// DSSocialWorkCloud
4   -//
5   -// Created by admin on 2020/1/7.
6   -// Copyright © 2020 CNLive. All rights reserved.
7   -//
8   -
9   -#import <DSBaseModule/DSBaseModule.h>
10   -#import "DSPlayerMacro.h"
11   -
12   -NS_ASSUME_NONNULL_BEGIN
13   -
14   -@interface DSSWCourseListViewController : DSBaseViewController
15   -
16   -@end
17   -
18   -NS_ASSUME_NONNULL_END
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSSWPlayViewController.h deleted 100644 → 0
1   -//
2   -// DSSWPlayViewController.h
3   -// DSSocialWorkCloud
4   -//
5   -// Created by admin on 2020/1/7.
6   -// Copyright © 2020 CNLive. All rights reserved.
7   -//
8   -
9   -#import <DSBaseModule/DSBaseModule.h>
10   -
11   -#import "DSPlayerMacro.h"
12   -
13   -typedef enum _DSPlayType
14   -{
15   - DSPlayTypeSimple = 0,
16   - DSPlayTypeNormal,
17   - DSPlayTypeCourse
18   -}DSPlayType;
19   -
20   -NS_ASSUME_NONNULL_BEGIN
21   -
22   -@interface DSSWPlayViewController : DSBaseViewController
23   -
24   -@property (nonatomic, copy) NSString * onPlayUrl;
25   -
26   -@property (nonatomic, assign) DSPlayType playType;
27   -
28   -// 主要负责AVPlayer 其他控件
29   -@property (nonatomic, strong) UIView * contentView;
30   -
31   -@end
32   -
33   -NS_ASSUME_NONNULL_END
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDKRouter.h renamed to DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSServiceHPViewController.h
1 1 //
2   -// DSCnliveShopSDKRouter.h
  2 +// DSServiceHPViewController.h
3 3 // DSCnliveShopSDK
4 4 //
5   -// Created by zhaolin on 2020/3/9.
  5 +// Created by zhaolin on 2019/10/25.
  6 +// Copyright © 2019 BIKE. All rights reserved.
6 7 //
7 8  
8   -#import <Foundation/Foundation.h>
  9 +#import <DSBaseModule/DSBaseModule.h>
9 10  
10 11 NS_ASSUME_NONNULL_BEGIN
11 12  
12   -@interface DSCnliveShopSDKRouter : NSObject
  13 +@interface DSServiceHPViewController : DSBaseViewController
  14 +
  15 +#pragma mark - 初始化方法
  16 +
  17 +@property (nonatomic,assign,readonly) BOOL isDisplayTabBar;
  18 +
  19 +/// 初始化方法
  20 +/// @param isDisplayTabBar 是否显示tabBar
  21 +-(instancetype)initWithIsDisplayTabBar:(BOOL)isDisplayTabBar;
13 22  
14 23 @end
15 24  
... ...
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSSlider.h deleted 100644 → 0
1   -//
2   -// DSSlider.h
3   -// DSSocialWorkCloud
4   -//
5   -// Created by admin on 2020/1/13.
6   -// Copyright © 2020 CNLive. All rights reserved.
7   -//
8   -
9   -#import <UIKit/UIKit.h>
10   -
11   -NS_ASSUME_NONNULL_BEGIN
12   -
13   -@interface DSSlider : UISlider
14   -
15   -@end
16   -
17   -NS_ASSUME_NONNULL_END
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/DSStaticData.h deleted 100644 → 0
1   -//
2   -// DSStaticData.h
3   -// DSSocialWorkCloud
4   -//
5   -// Created by admin on 2020/1/8.
6   -// Copyright © 2020 CNLive. All rights reserved.
7   -//
8   -
9   -#import <Foundation/Foundation.h>
10   -
11   -#define kTagSavedKeyLastPlayUrl @"kTagSavedKeyLastPlayUrl"
12   -
13   -#define kTagOutThisAppBrightness @"kTagOutThisAppBrightness"
14   -#define kTagInThisAppBrightness @"kTagInThisAppBrightness"
15   -
16   -NS_ASSUME_NONNULL_BEGIN
17   -
18   -@interface DSStaticData : NSObject
19   -
20   -
21   -+ (BOOL)saveObject:(id)object forKey:(NSString *)key;
22   -
23   -+ (id)getObjectForKey:(NSString *)key;
24   -
25   -+ (BOOL)saveObject:(id)data forKey:(NSString *)key forUser:(NSString *)user;
26   -
27   -+ (id)getObjectForKey:(NSString *)key forUser:(NSString *)user;
28   -
29   -@end
30   -
31   -NS_ASSUME_NONNULL_END
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/UIDevice+DSOrientation.h deleted 100644 → 0
1   -//
2   -// UIDevice+DSOrientation.h
3   -// DSSocialWorkCloud
4   -//
5   -// Created by admin on 2020/1/16.
6   -// Copyright © 2020 CNLive. All rights reserved.
7   -//
8   -
9   -
10   -#import <UIKit/UIKit.h>
11   -
12   -#import "DSPlayerMacro.h"
13   -
14   -NS_ASSUME_NONNULL_BEGIN
15   -
16   -@interface UIDevice (DSOrientation)
17   -
18   -+ (void)switchNewOrientation:(UIInterfaceOrientation)interfaceOrientation;
19   -
20   -+ (CGFloat)iPhoneXSeriesHeight;
21   -
22   -+ (CGFloat)statusBarHeight;
23   -
24   -@end
25   -
26   -NS_ASSUME_NONNULL_END
DSCnliveShopSDK/Frameworks/DSCnliveShopSDK.framework/Headers/UIImage+UIColor.h deleted 100644 → 0
1   -//
2   -// UIImage+UIColor.h
3   -// UBoxOnline
4   -//
5   -// Created by ubox on 13-3-21.
6   -// Copyright (c) 2013年 ubox. All rights reserved.
7   -//
8   -
9   -#import <UIKit/UIKit.h>
10   -
11   -// 用于扩展UIImage,转换背景色
12   -@interface UIImage (UIColor)
13   -
14   -// 给透明区域上上色
15   -- (UIImage *)changeImageColor:(UIColor *)theColor;
16   -
17   -// 图片置灰
18   -- (UIImage *)changeImageToGrayColor;
19   -
20   -@end
21   -
22   -
23   -// 通过颜色返回一个1*1大小的纯色图片
24   -@interface UIColor (UIImage)
25   -
26   -// 通过颜色返回一个1*1大小的纯色图片
27   -- (UIImage *)image;
28   -
29   -@end