Commit 62d37206 authored by lmj_521aiau@163.com's avatar lmj_521aiau@163.com

no message

parent 78a27e95
No preview for this file type
......@@ -9,6 +9,8 @@
#import "ZJBaseCareViewController.h"
#import "ZJMemberPayViewController.h"
#import "ZJLocationRemindSelectController.h"
@interface ZJBaseCareViewController() <CLLocationManagerDelegate>{
ZJFriendSettingView * friend;
......@@ -303,21 +305,28 @@
//消息按钮点击
- (void)xiaoXiButtonClick{
NSLog(@"消息按钮");
if (![ZJUserInfoManager shared].isLogin) {
// [MBProgressHUD showMessage:@"请先进行登录"];
ZJOauthLoginConfig * config = [[ZJOauthLoginConfig alloc] initWithCurrentVC:self];
[config loginVerify:^(id _Nonnull model) {
if ([model isKindOfClass:[ZJMineUserInfoModel class]] ) {
NSLog(@"success");
[self getHasNewMsg];
[self getFriendList];
}
}];
return;
}
[MobClick event:@"home_message_click"];
ZJXiaoXiViewController *vc = [[ZJXiaoXiViewController alloc] init];
[self.navigationController pushViewController:vc animated:YES];
// if (![ZJUserInfoManager shared].isLogin) {
//// [MBProgressHUD showMessage:@"请先进行登录"];
// ZJOauthLoginConfig * config = [[ZJOauthLoginConfig alloc] initWithCurrentVC:self];
// [config loginVerify:^(id _Nonnull model) {
// if ([model isKindOfClass:[ZJMineUserInfoModel class]] ) {
// NSLog(@"success");
// [self getHasNewMsg];
// [self getFriendList];
// }
// }];
// return;
// }
// [MobClick event:@"home_message_click"];
// ZJXiaoXiViewController *vc = [[ZJXiaoXiViewController alloc] init];
// [self.navigationController pushViewController:vc animated:YES];
ZJLocationRemindSelectController * location = [[UIStoryboard storyboardWithName:@"Location" bundle:nil] instantiateViewControllerWithIdentifier:@"ZJLocationRemindSelectController"];
location.title = @"选择地点";
location.commitAddressClosure = ^(ZJFriendLocationRemindModel * _Nonnull model) {
};
[self.navigationController pushViewController:location animated:YES];
}
//紧急按钮点击
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment