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

162 lines
3.4 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.
//
#import <Foundation/Foundation.h>
#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;
@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
/// 运行本地小程序
@interface FATLocalAppletRequest : FATAppletBaseRequest
/**
访
*/
@property (nonatomic, copy) NSArray *domainList;
/**
*/
@property (nonatomic, copy) NSArray *packages;
/**
线
*/
@property (nonatomic, copy) NSString *offlineMiniprogramZipPath;
/**
*/
@property (nonatomic, copy) NSString *zipPassword;
/**
使
YES使
使线
*/
@property (nonatomic, assign) BOOL useAppletCache;
/**
线
*/
@property (nonatomic, copy) NSString *offlineFrameworkZipPath;
/**
使
YES使
使
*/
@property (nonatomic, assign) BOOL useFrameworkCache;
@end