update
parent
95b90dab84
commit
656559fb59
2
Podfile
2
Podfile
|
@ -6,7 +6,7 @@ source 'https://github.com/CocoaPods/Specs.git'
|
||||||
inhibit_all_warnings!
|
inhibit_all_warnings!
|
||||||
|
|
||||||
target "demo" do
|
target "demo" do
|
||||||
pod 'FinApplet', '2.0.192'
|
pod 'FinApplet'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
// Override point for customization after application launch.
|
// Override point for customization after application launch.
|
||||||
|
|
||||||
NSString *appKey = @"22LyZEib0gLTQdU3MUauAWQrT5jdkwBnjD/4Rw9r+4kA";
|
NSString *appKey = @"22LyZEib0gLTQdU3MUauAWQrT5jdkwBnjD/4Rw9r+4kA";
|
||||||
FATConfig *config = [FATConfig configWithAppSecret:@"1a90cee1773badee" appKey:appKey];
|
FATConfig *config = [FATConfig configWithAppSecret:@"2d74454cfc200f93" appKey:appKey];
|
||||||
config.apiServer = @"https://mp.finogeeks.com";
|
config.apiServer = @"http://10.104.58.240:8000";
|
||||||
config.apiPrefix = @"/api/v1/mop";
|
config.apiPrefix = @"/api/v1/mop";
|
||||||
|
|
||||||
[[FATClient sharedClient] initWithConfig:config error:nil];
|
[[FATClient sharedClient] initWithConfig:config error:nil];
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
- (void)onDemoClick:(id)sender {
|
- (void)onDemoClick:(id)sender {
|
||||||
|
|
||||||
NSString *appId = @"5e4d123647edd60001055df1";
|
NSString *appId = @"5e759b703dc0ef0001c81a31";
|
||||||
// 打开小程序
|
// 打开小程序
|
||||||
[[FATClient sharedClient] startRemoteApplet:appId startParams:nil InParentViewController:self completion:^(BOOL result, NSError *error) {
|
[[FATClient sharedClient] startRemoteApplet:appId startParams:nil InParentViewController:self completion:^(BOOL result, NSError *error) {
|
||||||
NSLog(@"result:%d---error:%@", result, error);
|
NSLog(@"result:%d---error:%@", result, error);
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 4.6 MiB |
Loading…
Reference in New Issue