|
@@ -246,6 +246,26 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
|
|
|
[[NSNotificationCenter defaultCenter] postNotificationName:kRequestWebViewWithUrl object:temp userInfo:nil];
|
|
|
|
|
|
[[LXDataBaseManager shareDataBaseManager] changeCatagoryTypeWithURL:info[@"url"]];
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ NSDictionary * infoDic = @{@"url":info[@"url"],
|
|
|
+ @"rectype":@"C",
|
|
|
+ @"openid":info[@"openid"],
|
|
|
+ };
|
|
|
+
|
|
|
+ //post请求
|
|
|
+ NSLog(@"%@",[NSString stringWithFormat:@"%@jyapp/free/message/receive",kHost]);
|
|
|
+ [[LXNetworkManager shareLXNetworkManager]postWithURLStr:[NSString stringWithFormat:@"%@jyapp/free/message/receive",kHost] parameters:infoDic progress:^(NSProgress *progress) {
|
|
|
+ NSLog(@"%@",progress);
|
|
|
+ } success:^(id responseObject) {
|
|
|
+ NSLog(@"responseObject=%@",responseObject);
|
|
|
+ } failure:^(NSError *error) {
|
|
|
+ NSLog(@"error=%@",error);
|
|
|
+ }];
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -320,6 +340,21 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
|
|
|
//
|
|
|
// }
|
|
|
|
|
|
+ NSDictionary * infoDic = @{@"url":info[@"url"],
|
|
|
+ @"rectype":@"D",
|
|
|
+ @"openid":info[@"openid"],
|
|
|
+ };
|
|
|
+
|
|
|
+ //post请求
|
|
|
+ NSLog(@"%@",[NSString stringWithFormat:@"%@jyapp/free/message/receive",kHost]);
|
|
|
+ [[LXNetworkManager shareLXNetworkManager]postWithURLStr:[NSString stringWithFormat:@"%@jyapp/free/message/receive",kHost] parameters:infoDic progress:^(NSProgress *progress) {
|
|
|
+ NSLog(@"%@",progress);
|
|
|
+ } success:^(id responseObject) {
|
|
|
+ NSLog(@"responseObject=%@",responseObject);
|
|
|
+ } failure:^(NSError *error) {
|
|
|
+ NSLog(@"error=%@",error);
|
|
|
+ }];
|
|
|
+
|
|
|
|
|
|
}
|
|
|
}
|