diff --git a/Podfile b/Podfile index 64547e9..7c79955 100644 --- a/Podfile +++ b/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 diff --git a/demo/AppDelegate.m b/demo/AppDelegate.m index c7813fb..77eeee0 100644 --- a/demo/AppDelegate.m +++ b/demo/AppDelegate.m @@ -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]; diff --git a/demo/ViewController.m b/demo/ViewController.m index 2a955d8..a8f1ce8 100644 --- a/demo/ViewController.m +++ b/demo/ViewController.m @@ -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); diff --git a/doc/mop_ios_demo.gif b/doc/mop_ios_demo.gif new file mode 100644 index 0000000..9631347 Binary files /dev/null and b/doc/mop_ios_demo.gif differ