developer
2023-05-20 e12c7b4c22df631ebdcd16b2f98fbef8f738f92f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
 * AlibcURLBusRequest.h 
 *
 * 阿里百川电商
 * 项目名称:阿里巴巴电商 AlibcTradeBiz 
 * 版本号:4.0.0.9
 * 发布时间:2019-10-31
 * 开发团队:阿里巴巴商家服务引擎团队
 * 阿里巴巴电商SDK答疑群号:1488705339  2071154343(阿里旺旺)
 * Copyright (c) 2016-2020 阿里巴巴-淘宝-百川. All rights reserved.
 */
 
#import <Foundation/Foundation.h>
#import "AlibcURLBusPageOpenParams.h"
#import "AlibcTradeSDKDefines.h"
 
/**
 *  原始页面类型
 */
typedef NS_ENUM(NSUInteger, AlibcPageType) {
    /**unkown**/
    AlibcUnkownPage,
    /** 小程序 */
    AlibcMiniAppPage,
    /** h5 */
    AlibcH5Page
};
 
 
@interface AlibcURLBusRequest : NSObject
 
// URL 原始页面类型
@property(nonatomic,assign)AlibcPageType pageType;
 
// 原始URL
@property(nonatomic,copy)NSString *originalUrl;
 
// 页面业务类型:detail/shop/addCart/order/login/.../unkown
@property(nonatomic,copy)NSString *pageBizCode;
 
// 页面打开方式集合
@property(nonatomic,copy)NSArray *openPageActionList;
 
// url 来源
@property(nonatomic,assign)AlibcUrlSourceType urlSource;
 
// 小程序打点标识
@property(nonatomic,assign)BOOL isNeedMiniAppTrace;
 
// 用户是否自定义拉端失败模式
@property(nonatomic,assign)BOOL isCustomNativeFailMode;
 
/**
 *  当isNeedCustomNativeFailMode ==YES时生效 跳手淘/天猫失败后的处理策略, 默认值为: AlibcNativeFailModeJumpH5
 */
@property(nonatomic, assign) AlibcNativeFailMode nativeFailMode;
 
/**
 * AppLink唤端失败,媒体自定义降级url
 * 当isNeedCustomNativeFailMode ==YES && nativeFailMode 设置为 AlibcNativeFailModeJumpH5时生效
 *
 */
@property(nonatomic, copy)NSString *degradeUrl;
 
// 是否是iframe
@property(nonatomic, assign) BOOL isFrame;
 
@end