基础库
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

44 行
1.1 KiB

  1. #import "AppDelegate.h"
  2. #import "GeneratedPluginRegistrant.h"
  3. #import <zhiying_comm/ZhiyingCommNative.h>
  4. #import <jdsdk/JDKeplerSDK.h>
  5. @implementation AppDelegate
  6. - (BOOL)application:(UIApplication *)application
  7. didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  8. [ZhiyingCommNative regist: self];
  9. [GeneratedPluginRegistrant registerWithRegistry:self];
  10. // [[KeplerApiManager sharedKPService]asyncInitSdk:@"9fc3dec00b9b40cc950dfba5262cd6d3" secretKey:@"f785613e5fd54a129d0f0359a4e25c23" sucessCallback:^(){
  11. // NSLog (@"京东初始化成功");
  12. // }failedCallback:^(NSError *error){
  13. // NSLog (@"京东初始化失败");
  14. // }];
  15. return [super application:application didFinishLaunchingWithOptions:launchOptions];
  16. }
  17. // 公共跳转方法
  18. - (void)openPage: (NSDictionary*)params {
  19. }
  20. - (void)openNativePage: (NSDictionary*)params {
  21. NSString *method = [params valueForKey:@"method"];
  22. if ([method isEqualToString: @""]) {
  23. }
  24. }
  25. // 获取设置
  26. - (NSDictionary*)getSetting {
  27. return @{
  28. // @"domain": @"http://120.76.175.204:8989"
  29. @"domain": @"http://192.168.0.113:5000"
  30. };
  31. }
  32. @end