apple 5 éve
szülő
commit
9fe9620eb4

+ 2 - 2
ios/JianYuIOS/JianYuIOS.xcodeproj/project.pbxproj

@@ -1048,7 +1048,7 @@
 				CODE_SIGN_ENTITLEMENTS = "JianYuIOS/剑鱼标讯Debug.entitlements";
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 57;
+				CURRENT_PROJECT_VERSION = 59;
 				DEVELOPMENT_TEAM = 4S438G3ZUL;
 				ENABLE_BITCODE = NO;
 				FRAMEWORK_SEARCH_PATHS = (
@@ -1133,7 +1133,7 @@
 				CODE_SIGN_ENTITLEMENTS = JianYuIOS/JianYuIOS.entitlements;
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 57;
+				CURRENT_PROJECT_VERSION = 59;
 				DEVELOPMENT_TEAM = 4S438G3ZUL;
 				ENABLE_BITCODE = NO;
 				FRAMEWORK_SEARCH_PATHS = (

BIN
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate


+ 1 - 2
ios/JianYuIOS/JianYuIOS/AppDelegate.m

@@ -137,7 +137,7 @@
     
 }
 
--(void)initUM{
+-(void)initUM {
     /* 打开调试日志 */
     [[UMSocialManager defaultManager] openLog:NO];
     /* 设置友盟appkey */
@@ -207,7 +207,6 @@
 
 - (void)applicationDidEnterBackground:(UIApplication *)application {
     [self addImgView];
-    //    sleep(1);
 }
 
 

+ 6 - 3
ios/JianYuIOS/JianYuIOS/BaseClass1/PrefixHeader.pch

@@ -171,13 +171,16 @@ _Pragma("clang diagnostic pop")\
 
 //#define kHost @"http://web-jydev-xzh.jianyu360.cn/" //徐志恒
 
-//#define kHost @"http://app-jytest.jianyu360.cn/"  //测试http
 
-//#define kHost @"http://app2-jytest.jianyu360.cn/"  //测试http
+
+
+
+
+//#define kHost @"https://app-jytest.jianyu360.cn/"  //测试
 
 #define kHost @"https://app-i2.jianyu360.com/"   //新正式
 
-//#define kHost @"http://app207-jytest.jianyu360.cn/"   //测试http
+//#define kHost @"https://app207-jytest.jianyu360.cn/"   //测试http
 
 
 

+ 2 - 1
ios/JianYuIOS/JianYuIOS/Classes(模块)/JYNewSearchViewController.m

@@ -1369,7 +1369,7 @@ NSString *const new_AesKey_1 = @"mGlAgnIBB8bx2nch";
  
 //监听购买结果
 - (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions {
-//    NSLog(@"收到支付回调");
+    NSLog(@"收到支付回调");
     for (SKPaymentTransaction *transaction in transactions) {
         switch (transaction.transactionState) {
             case SKPaymentTransactionStatePurchased://交易完成
@@ -1401,6 +1401,7 @@ NSString *const new_AesKey_1 = @"mGlAgnIBB8bx2nch";
     NSString *receipt = [receiptData base64EncodedStringWithOptions:NSDataBase64EncodingEndLineWithLineFeed];
      if ([productIdentifier length] > 0) {
          // 向自己的服务器验证购买凭证
+     
          if(self.tabBarController.selectedIndex == 0) {
               [self isExitCallToJS:[NSString stringWithFormat:@"getReceipt('%@')", receipt] withMethodName:@"getReceipt"];
          }else {