更新finclip域名
parent
1c317c59dc
commit
6df5b04229
10
README.md
10
README.md
|
@ -38,13 +38,13 @@ class _MyAppState extends State<MyApp> {
|
|||
//com.finogeeks.mopExample
|
||||
final res = await Mop.instance.initialize(
|
||||
'22LyZEib0gLTQdU3MUauARlLry7JL/2fRpscC9kpGZQA', '1c11d7252c53e0b6',
|
||||
apiServer: 'https://mp.finogeeks.com', apiPrefix: '/api/v1/mop');
|
||||
apiServer: 'https://api.finclip.com', apiPrefix: '/api/v1/mop');
|
||||
print(res);
|
||||
} else if (Platform.isAndroid) {
|
||||
//com.finogeeks.mopexample
|
||||
final res = await Mop.instance.initialize(
|
||||
'22LyZEib0gLTQdU3MUauARjmmp6QmYgjGb3uHueys1oA', '98c49f97a031b555',
|
||||
apiServer: 'https://mp.finogeeks.com', apiPrefix: '/api/v1/mop');
|
||||
apiServer: 'https://api.finclip.com', apiPrefix: '/api/v1/mop');
|
||||
print(res);
|
||||
}
|
||||
if (!mounted) return;
|
||||
|
@ -127,8 +127,8 @@ class _MyAppState extends State<MyApp> {
|
|||
///
|
||||
/// initialize mop miniprogram engine.
|
||||
/// 初始化小程序
|
||||
/// [appkey] is required. it can be getted from mp.finogeeks.com
|
||||
/// [secret] is required. it can be getted from mp.finogeeks.com
|
||||
/// [appkey] is required. it can be getted from api.finclip.com
|
||||
/// [secret] is required. it can be getted from api.finclip.com
|
||||
/// [apiServer] is optional. the mop server address. default is https://mp.finogeek.com
|
||||
/// [apiPrefix] is optional. the mop server prefix. default is /api/v1/mop
|
||||
///
|
||||
|
@ -142,7 +142,7 @@ class _MyAppState extends State<MyApp> {
|
|||
```
|
||||
final res = await Mop.instance.initialize(
|
||||
'22LyZEib0gLTQdU3MUauARlLry7JL/2fRpscC9kpGZQA', '1c11d7252c53e0b6',
|
||||
apiServer: 'https://mp.finogeeks.com', apiPrefix: '/api/v1/mop');
|
||||
apiServer: 'https://api.finclip.com', apiPrefix: '/api/v1/mop');
|
||||
```
|
||||
|
||||
2. 打开小程序
|
||||
|
|
|
@ -40,7 +40,7 @@ public class BaseModule extends BaseApi {
|
|||
}
|
||||
String appkey = String.valueOf(param.get("appkey"));
|
||||
String secret = String.valueOf(param.get("secret"));
|
||||
String apiServer = "https://mp.finogeeks.com";
|
||||
String apiServer = "https://api.finclip.com";
|
||||
String apiPrefix = "/api/v1/mop/";
|
||||
String cryptType = (String) param.get("cryptType");
|
||||
if (cryptType == null || cryptType.isEmpty()) {
|
||||
|
|
|
@ -22,12 +22,12 @@ class _MyAppState extends State<MyApp> {
|
|||
if (Platform.isIOS) {
|
||||
final res = await Mop.instance.initialize(
|
||||
'22LyZEib0gLTQdU3MUauAZ0pZVbKTWGmNN6Lx8hXhIkA', '74bde5fad53a817c',
|
||||
apiServer: 'https://mp.finogeeks.com', apiPrefix: '/api/v1/mop');
|
||||
apiServer: 'https://api.finclip.com', apiPrefix: '/api/v1/mop');
|
||||
print(res);
|
||||
} else if (Platform.isAndroid) {
|
||||
final res = await Mop.instance.initialize(
|
||||
'22LyZEib0gLTQdU3MUauAZ0pZVbKTWGmNN6Lx8hXhIkA', '74bde5fad53a817c',
|
||||
apiServer: 'https://mp.finogeeks.com', apiPrefix: '/api/v1/mop');
|
||||
apiServer: 'https://api.finclip.com', apiPrefix: '/api/v1/mop');
|
||||
print(res);
|
||||
}
|
||||
if (!mounted) return;
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
return;
|
||||
}
|
||||
if (!self.apiServer || [self.apiServer isEqualToString:@""]) {
|
||||
self.apiServer = @"https://mp.finogeeks.com";
|
||||
self.apiServer = @"https://api.finclip.com";
|
||||
}
|
||||
if (!self.apiPrefix|| [self.apiPrefix isEqualToString:@""]) {
|
||||
self.apiPrefix = @"/api/v1/mop";
|
||||
|
|
|
@ -62,8 +62,8 @@ class Mop {
|
|||
///
|
||||
/// initialize mop miniprogram engine.
|
||||
/// 初始化小程序
|
||||
/// [appkey] is required. it can be getted from mp.finogeeks.com
|
||||
/// [secret] is required. it can be getted from mp.finogeeks.com
|
||||
/// [appkey] is required. it can be getted from api.finclip.com
|
||||
/// [secret] is required. it can be getted from api.finclip.com
|
||||
/// [apiServer] is optional. the mop server address. default is https://mp.finogeek.com
|
||||
/// [apiPrefix] is optional. the mop server prefix. default is /api/v1/mop
|
||||
/// [cryptType] is optional. cryptType, should be MD5/SM
|
||||
|
|
Loading…
Reference in New Issue