浏览代码

后台移除token

apple 6 年之前
父节点
当前提交
1b477f6a07

二进制
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate


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

@@ -236,13 +236,7 @@ NSString *const AesKey_2 = @"mGlAgnIBB8bx2nch";
 // 首次加载web
 -(void)webViewFirstRequest{
     NSString *url = [NSString stringWithFormat:@"%@%@", kHost, @"jyapp/jylab/index"];
-//    NSString *token = [LXUserDefaults token];
-//    if (token) {
-//        url = [url stringByAppendingString:[NSString stringWithFormat:@"?sign=%@&url=/jyapp/jylab/mainSearch&from=restart", token]];
-//    }
-    
     NSLog(@"333第一次加载%@",url);
-    
     url =  [url stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
     kMainQueue(^{
         [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:url]]];
@@ -336,7 +330,7 @@ NSString *const AesKey_2 = @"mGlAgnIBB8bx2nch";
         return;
     }
 
-    [self jsRemoveUserToken:nil];
+
     [self webViewRequestByMsg];
 }
 

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

@@ -138,18 +138,7 @@ NSString *const AesKey_3 = @"mGlAgnIBB8bx2nch";
     
 //    [self clearWeb];
     
-    
-    
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(refreshAllVC:) name:@"refreshAllVC" object:nil];
-    
-    
-    
-    
-    /*
-     账号:centuo
-     密码:
-     
-     */
 }
 
 -(void)newsRedPoint:(NSNotification *)notificaition
@@ -367,7 +356,7 @@ NSString *const AesKey_3 = @"mGlAgnIBB8bx2nch";
         return;
     }
 
-    [self jsRemoveUserToken:nil];
+
     [self webViewRequestByMsg];
 }
 
@@ -957,15 +946,15 @@ NSString *const AesKey_3 = @"mGlAgnIBB8bx2nch";
      */
     
     //吊起微信
-    PayReq *request = [[PayReq alloc] init] ;
-    request.package = @"Sign=WXPay";
-    request.nonceStr= data[@"nonceStr"];
-    request.partnerId = data[@"partnerid"];
-    request.sign= data[@"paySign"];
-    request.timeStamp= [data[@"timeStamp"] intValue];
-    request.openID = data[@"appId"];
-    request.prepayId= data[@"prepay_id"];
-    [WXApi sendReq:request];
+//    PayReq *request = [[PayReq alloc] init] ;
+//    request.package = @"Sign=WXPay";
+//    request.nonceStr= data[@"nonceStr"];
+//    request.partnerId = data[@"partnerid"];
+//    request.sign= data[@"paySign"];
+//    request.timeStamp= [data[@"timeStamp"] intValue];
+//    request.openID = data[@"appId"];
+//    request.prepayId= data[@"prepay_id"];
+//    [WXApi sendReq:request];
 }
 
 

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

@@ -473,8 +473,6 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
     if([notification.userInfo[@"item_index"] integerValue]!=0) {
         return;
     }
-
-    [self jsRemoveUserToken:nil];
     [self webViewRequestByMsg];
     
 }

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

@@ -332,7 +332,7 @@ NSString *const AesKey_1 = @"mGlAgnIBB8bx2nch";
     if([notification.userInfo[@"item_index"] integerValue]!=1) {
         return;
     }
-    [self jsRemoveUserToken:nil];
+
     [self webViewRequestByMsg];
 }