phizclip-uniapp-demo/finclip-uniapp-test/nativeplugins/MopSdk/ios/FinApplet.framework/Headers/FATAppletRequest.h

190 lines
4.6 KiB
C
Raw Normal View History

2022-06-08 11:57:35 +08:00
//
// FATAppletRequest.h
// FinApplet
//
// Created by Haley on 2020/11/15.
// Copyright © 2020 finogeeks. All rights reserved.
//
2022-10-19 12:51:03 +08:00
#import <UIKit/UIKit.h>
2022-06-08 11:57:35 +08:00
#import "FATConstant.h"
@interface FATAppletBaseRequest : NSObject
#pragma mark - server info
/**
* https://mp.finogeeks.com
*/
@property (nonatomic, copy) NSString *apiServer;
#pragma mark - 小程序 info
/**
id
*/
@property (nonatomic, copy) NSString *appletId;
/**
*/
@property (nonatomic, copy) NSString *appName;
/**
*/
@property (nonatomic, copy) NSString *appletLogo;
/**
keyFATStartParamKey
*/
@property (nonatomic, copy) NSDictionary<FATStartParamKey, NSString *> *startParams;
/**
*/
@property (nonatomic, assign) FATTranstionStyle transitionStyle;
/**
YES
*/
@property (nonatomic, assign) BOOL animated;
2022-10-19 12:51:03 +08:00
///**
// 自定义的scheme数组非必填
// */
//@property (nonatomic, strong) NSArray<NSString *> *scheme;
2022-06-08 11:57:35 +08:00
@end
@interface FATAppletRequest : FATAppletBaseRequest
/**
*/
@property (nonatomic, strong) NSNumber *sequence;
/**
线
*/
@property (nonatomic, copy) NSString *offlineMiniprogramZipPath;
/**
线
*/
@property (nonatomic, copy) NSString *offlineFrameworkZipPath;
/// 体验版小程序会带小程序信息
@property (nonatomic, copy) NSDictionary *trialInfo;
@end
/// 小程序解密请求(二维码打开小程序)
@interface FATAppletDecryptRequest : NSObject
@property (nonatomic, copy) NSString *appletId; //管理小程序打开体验版info加密信息中没有带appletId字段
/**
*/
@property (nonatomic, copy) NSString *info;
/**
*/
@property (nonatomic, assign) FATTranstionStyle transitionStyle;
/**
YES
*/
@property (nonatomic, assign) BOOL animated;
@end
@interface FATAppletQrCodeRequest : NSObject
/**
*/
@property (nonatomic, strong) NSString *qrCode;
/**
*/
@property (nonatomic, assign) FATTranstionStyle transitionStyle;
/**
YES
*/
@property (nonatomic, assign) BOOL animated;
@end
2022-10-19 12:51:03 +08:00
/**
*/
2022-06-08 11:57:35 +08:00
@interface FATLocalAppletRequest : FATAppletBaseRequest
2022-10-19 12:51:03 +08:00
/**
logo
nilappletLogo
*/
@property (nonatomic, strong) UIImage *logoImage;
2022-06-08 11:57:35 +08:00
/**
访
2022-10-19 12:51:03 +08:00
domainList nil []
2022-06-08 11:57:35 +08:00
*/
@property (nonatomic, copy) NSArray *domainList;
/**
*/
@property (nonatomic, copy) NSArray *packages;
/**
2022-10-19 12:51:03 +08:00
2022-06-08 11:57:35 +08:00
*/
2022-10-19 12:51:03 +08:00
@property (nonatomic, copy) NSString *zipPassword;
2022-06-08 11:57:35 +08:00
/**
2022-10-19 12:51:03 +08:00
线
2022-06-08 11:57:35 +08:00
*/
2022-10-19 12:51:03 +08:00
@property (nonatomic, copy) NSString *offlineFrameworkZipPath;
/**
使
YES使
使
*/
@property (nonatomic, assign) BOOL useFrameworkCache;
#pragma mark - 小程序分包加载
/**
md5
versionversion宿app
[FATClient sharedClient].delegatelocalApplet:packDict:zipPathCallback:
*/
@property (nonatomic, copy) NSString *version;
2022-06-08 11:57:35 +08:00
2022-10-19 12:51:03 +08:00
#pragma mark - 加载整个小程序
2022-06-08 11:57:35 +08:00
/**
2022-10-19 12:51:03 +08:00
使NO
2022-06-08 11:57:35 +08:00
YES使
使线
*/
@property (nonatomic, assign) BOOL useAppletCache;
/**
2022-10-19 12:51:03 +08:00
线
2022-06-08 11:57:35 +08:00
*/
2022-10-19 12:51:03 +08:00
@property (nonatomic, copy) NSString *offlineMiniprogramZipPath;
2022-06-08 11:57:35 +08:00
/**
2022-10-19 12:51:03 +08:00
API
2022-06-08 11:57:35 +08:00
*/
2022-10-19 12:51:03 +08:00
@property (nonatomic, strong) NSArray<NSString *> *extApiWhiteList;
2022-06-08 11:57:35 +08:00
@end