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