Bladeren bron

通知数据

apple 6 jaren geleden
bovenliggende
commit
95d6af843f

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


+ 16 - 0
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -13,5 +13,21 @@
             stopOnStyle = "0">
          </BreakpointContent>
       </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "JianYuIOS/Classes&#xff08;&#x6a21;&#x5757;&#xff09;/JYSubViewController.m"
+            timestampString = "569150764.644593"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "282"
+            endingLineNumber = "282"
+            landmarkName = "-requestWebView:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
    </Breakpoints>
 </Bucket>

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

@@ -229,7 +229,7 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
         info = [[LXViewControllerManager shareViewControllerManager] dictionaryWithJsonString:userInfo[@"info"]];
     }
     if (info ) {
-        NSMutableDictionary *temp = [NSMutableDictionary dictionaryWithDictionary:info];
+//        NSMutableDictionary *temp = [NSMutableDictionary dictionaryWithDictionary:info];
         if (info[@"url"]) {
             
 //            if (userInfo[@"type"] && ![userInfo[@"type"] isEqualToString:@""]) {
@@ -270,7 +270,7 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
                 //如果是订阅消息
                 [[NSNotificationCenter defaultCenter] postNotificationName:ClickSubNotiMethods object:userInfo userInfo:nil];
             }else {
-                [[NSNotificationCenter defaultCenter] postNotificationName:kRequestWebViewWithUrl object:temp userInfo:nil];
+                [[NSNotificationCenter defaultCenter] postNotificationName:kRequestWebViewWithUrl object:userInfo userInfo:nil];
             }
             
             if(self.wakeUpBool) {

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

@@ -278,7 +278,7 @@ NSString *const AesKey_2 = @"mGlAgnIBB8bx2nch";
     if (!infoDict) {
         return;
     }
-    NSString * urlStr = [NSString stringWithFormat:@"%@",infoDict[@"url"]];
+    NSString * urlStr = [NSString stringWithFormat:@"%@",infoDict[@"info"][@"url"]];
     
     if (urlStr) {
         

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

@@ -304,13 +304,13 @@ NSString *const AesKey_3 = @"mGlAgnIBB8bx2nch";
     if (!infoDict) {
         return;
     }
-    NSString * urlStr = [NSString stringWithFormat:@"%@",infoDict[@"url"]];
+    NSString * urlStr = [NSString stringWithFormat:@"%@",infoDict[@"info"][@"url"]];
     
     if (urlStr) {
         if(self.tabBarController.selectedIndex != 3) {
             return;
         }else {
-            [self webViewFirstRequest];
+//            [self webViewFirstRequest];
         }
         
         [[LXViewControllerManager shareViewControllerManager] showHudText:nil];

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

@@ -396,7 +396,7 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
 
 -(void)requestWebTime:(NSDictionary *)infoDict
 {
-    NSString * urlStr = [NSString stringWithFormat:@"%@",infoDict[@"url"]];
+    NSString * urlStr = [NSString stringWithFormat:@"%@",infoDict[@"info"][@"url"]];
     
     if([infoDict[@"type"] isEqualToString:@"message"]) {
         NSString *url = [NSString stringWithFormat:@"%@",urlStr];
@@ -420,7 +420,7 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
     if (!infoDict) {
         return;
     }
-    NSString * urlStr = [NSString stringWithFormat:@"%@",infoDict[@"url"]];
+    NSString * urlStr = [NSString stringWithFormat:@"%@",infoDict[@"info"][@"url"]];
     
     if (urlStr) {
         //当前控制器

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

@@ -279,7 +279,7 @@ NSString *const AesKey_1 = @"mGlAgnIBB8bx2nch";
     if (!infoDict) {
         return;
     }
-    NSString * urlStr = [NSString stringWithFormat:@"%@",infoDict[@"url"]];
+    NSString * urlStr = [NSString stringWithFormat:@"%@",infoDict[@"info"][@"url"]];
     
     if (urlStr) {