master
wangtao 2021-12-22 17:32:40 +08:00
commit 3d4e0feb19
1 changed files with 19 additions and 7 deletions

View File

@ -11,14 +11,26 @@ typedef MopEventErrorCallback = void Function(dynamic event);
typedef ExtensionApiHandler = Future Function(dynamic params);
class FinStoreConfig {
String sdkKey; //SDK Key
String sdkSecret; //SDK secret
String apiServer; //
///SDK Key
String sdkKey;
String apmServer; //apm,apiServer
String cryptType; //MD5 SM
String? fingerprint; //SDK (https://open.fdep.cn/)
bool encryptServerData; //使YES
///SDK secret
String sdkSecret;
///
String apiServer;
///apm,apiServer
String apmServer;
///MD5 SM
String cryptType;
///SDK (https://open.fdep.cn/)
String? fingerprint;
///使YES
bool encryptServerData;
FinStoreConfig(this.sdkKey, this.sdkSecret, this.apiServer, this.apmServer,
{this.cryptType = "MD5",