fix: appid

master
developer 2020-04-22 21:20:25 +08:00
parent 656559fb59
commit 922b5d088a
2 changed files with 6 additions and 6 deletions

View File

@ -21,9 +21,9 @@
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch. // Override point for customization after application launch.
NSString *appKey = @"22LyZEib0gLTQdU3MUauAWQrT5jdkwBnjD/4Rw9r+4kA"; NSString *appKey = @"22LyZEib0gLTQdU3MUauAVUHSFDdTToYDWCqr0AgPGwA";
FATConfig *config = [FATConfig configWithAppSecret:@"2d74454cfc200f93" appKey:appKey]; FATConfig *config = [FATConfig configWithAppSecret:@"8c5c3c26420b7e66" appKey:appKey];
config.apiServer = @"http://10.104.58.240:8000"; config.apiServer = @"https://mp.finogeeks.com";
config.apiPrefix = @"/api/v1/mop"; config.apiPrefix = @"/api/v1/mop";
[[FATClient sharedClient] initWithConfig:config error:nil]; [[FATClient sharedClient] initWithConfig:config error:nil];

View File

@ -44,7 +44,7 @@
- (void)onCanvasClick:(id)sender { - (void)onCanvasClick:(id)sender {
NSString *appId = @"5e3c147a188211000141e9b1"; NSString *appId = @"5ea03fa563cb900001d73863";
// //
[[FATClient sharedClient] startRemoteApplet:appId startParams:@{ [[FATClient sharedClient] startRemoteApplet:appId startParams:@{
@"path": @"/pages/index/index", @"path": @"/pages/index/index",
@ -56,7 +56,7 @@
- (void)onDemoClick:(id)sender { - (void)onDemoClick:(id)sender {
NSString *appId = @"5e759b703dc0ef0001c81a31"; NSString *appId = @"5ea0401463cb900001d73865";
// //
[[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);
@ -65,7 +65,7 @@
- (void)onProfileClick:(id)sender { - (void)onProfileClick:(id)sender {
NSString *appId = @"5e637a18cbfae4000170fa7a"; NSString *appId = @"5ea0412663cb900001d73867";
// //
[[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);