From 922b5d088a494f545fee3834a25ef87c256a8d08 Mon Sep 17 00:00:00 2001 From: developer Date: Wed, 22 Apr 2020 21:20:25 +0800 Subject: [PATCH] fix: appid --- demo/AppDelegate.m | 6 +++--- demo/ViewController.m | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/demo/AppDelegate.m b/demo/AppDelegate.m index 77eeee0..696b8ee 100644 --- a/demo/AppDelegate.m +++ b/demo/AppDelegate.m @@ -21,9 +21,9 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. - NSString *appKey = @"22LyZEib0gLTQdU3MUauAWQrT5jdkwBnjD/4Rw9r+4kA"; - FATConfig *config = [FATConfig configWithAppSecret:@"2d74454cfc200f93" appKey:appKey]; - config.apiServer = @"http://10.104.58.240:8000"; + NSString *appKey = @"22LyZEib0gLTQdU3MUauAVUHSFDdTToYDWCqr0AgPGwA"; + FATConfig *config = [FATConfig configWithAppSecret:@"8c5c3c26420b7e66" appKey:appKey]; + config.apiServer = @"https://mp.finogeeks.com"; config.apiPrefix = @"/api/v1/mop"; [[FATClient sharedClient] initWithConfig:config error:nil]; diff --git a/demo/ViewController.m b/demo/ViewController.m index a8f1ce8..4e3bef2 100644 --- a/demo/ViewController.m +++ b/demo/ViewController.m @@ -44,7 +44,7 @@ - (void)onCanvasClick:(id)sender { - NSString *appId = @"5e3c147a188211000141e9b1"; + NSString *appId = @"5ea03fa563cb900001d73863"; // 打开小程序 [[FATClient sharedClient] startRemoteApplet:appId startParams:@{ @"path": @"/pages/index/index", @@ -56,7 +56,7 @@ - (void)onDemoClick:(id)sender { - NSString *appId = @"5e759b703dc0ef0001c81a31"; + NSString *appId = @"5ea0401463cb900001d73865"; // 打开小程序 [[FATClient sharedClient] startRemoteApplet:appId startParams:nil InParentViewController:self completion:^(BOOL result, NSError *error) { NSLog(@"result:%d---error:%@", result, error); @@ -65,7 +65,7 @@ - (void)onProfileClick:(id)sender { - NSString *appId = @"5e637a18cbfae4000170fa7a"; + NSString *appId = @"5ea0412663cb900001d73867"; // 打开小程序 [[FATClient sharedClient] startRemoteApplet:appId startParams:nil InParentViewController:self completion:^(BOOL result, NSError *error) { NSLog(@"result:%d---error:%@", result, error);