CNWebRedirectHandle.h 1.22 KB
//
//  CNWebRedirectHandle.h
//  CNLiveNetAdd
//
//  Created by cnliveJunBo on 2019/1/3.
//  Copyright © 2019年 cnlive. All rights reserved.
//  跳转二级webview的管理类

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface CNWebRedirectHandle : NSObject

@property (nonatomic, assign) BOOL isSelectedClassify;//是否进入过分类页面
@property (nonatomic, assign) BOOL isClickedIntegral; //未进入过分类页面时,是否点击过积分任务跳转
@property (nonatomic, assign) NSInteger channelId;    //一级index
@property (nonatomic, assign) NSInteger classifyId;   //二级index

+ (CNWebRedirectHandle *)manager;

// 外部使用(短连接->长连接)(多了encode  decode操作)
- (void)webRedirectHandleWithUrlStr:(NSString *)urlStr;
// 外部使用(跳转二级webView页)(无encode  decode,无短链重定向长链操作,仅仅初始化二级webview做跳转)
- (void)turnToCategorySubWebVCWithUrl:(NSString *)urlStr;

// junbo自己使用 (无encode  decode操作。因为一二级webview内不再做任何encode decode操作,容易产生多次encode问题,所以一二级webview内使用这个)
- (void)jb_webRedirectHandleWithUrlStr:(NSString *)urlStr;

@end

NS_ASSUME_NONNULL_END