#import "AppDelegate.h"
#import "GeneratedPluginRegistrant.h"
#import <zhiying_comm/ZhiyingCommNative.h>

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application
    didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  [GeneratedPluginRegistrant registerWithRegistry:self];
  // Override point for customization after application launch.
  [ZhiyingCommNative regist: self];
  return [super application:application didFinishLaunchingWithOptions:launchOptions];
}

// 公共跳转方法
- (void)openPage: (NSDictionary*)params {
    
}

- (void)openNativePage: (NSDictionary*)params {
    NSString *method = [params valueForKey:@"method"];
    if ([method isEqualToString: @""]) {
    }
}


// 获取设置
- (NSDictionary*)getSetting {
    return @{
        // @"domain": @"http://120.76.175.204:8989"
        @"domain": @"http://192.168.0.113:5000"
    };
}

@end
