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); typedef ExtensionApiHandler = Future Function(dynamic params);
class FinStoreConfig { class FinStoreConfig {
String sdkKey; //SDK Key ///SDK Key
String sdkSecret; //SDK secret String sdkKey;
String apiServer; //
String apmServer; //apm,apiServer ///SDK secret
String cryptType; //MD5 SM String sdkSecret;
String? fingerprint; //SDK (https://open.fdep.cn/)
bool encryptServerData; //使YES ///
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, FinStoreConfig(this.sdkKey, this.sdkSecret, this.apiServer, this.apmServer,
{this.cryptType = "MD5", {this.cryptType = "MD5",