基础库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

45 regels
1.2 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://inapi.izhyin.cn",
  30. @"token": @"cc455e0c0b6a75ff09aeb966c211fb967d69b63d"
  31. };
  32. }
  33. @end