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 @@ ...@@ -9,6 +9,8 @@
#import "ZJBaseCareViewController.h" #import "ZJBaseCareViewController.h"
#import "ZJMemberPayViewController.h" #import "ZJMemberPayViewController.h"
#import "ZJLocationRemindSelectController.h"
@interface ZJBaseCareViewController() <CLLocationManagerDelegate>{ @interface ZJBaseCareViewController() <CLLocationManagerDelegate>{
ZJFriendSettingView * friend; ZJFriendSettingView * friend;
...@@ -303,21 +305,28 @@ ...@@ -303,21 +305,28 @@
//消息按钮点击 //消息按钮点击
- (void)xiaoXiButtonClick{ - (void)xiaoXiButtonClick{
NSLog(@"消息按钮"); NSLog(@"消息按钮");
if (![ZJUserInfoManager shared].isLogin) { // if (![ZJUserInfoManager shared].isLogin) {
// [MBProgressHUD showMessage:@"请先进行登录"]; //// [MBProgressHUD showMessage:@"请先进行登录"];
ZJOauthLoginConfig * config = [[ZJOauthLoginConfig alloc] initWithCurrentVC:self]; // ZJOauthLoginConfig * config = [[ZJOauthLoginConfig alloc] initWithCurrentVC:self];
[config loginVerify:^(id _Nonnull model) { // [config loginVerify:^(id _Nonnull model) {
if ([model isKindOfClass:[ZJMineUserInfoModel class]] ) { // if ([model isKindOfClass:[ZJMineUserInfoModel class]] ) {
NSLog(@"success"); // NSLog(@"success");
[self getHasNewMsg]; // [self getHasNewMsg];
[self getFriendList]; // [self getFriendList];
} // }
}]; // }];
return; // return;
} // }
[MobClick event:@"home_message_click"]; // [MobClick event:@"home_message_click"];
ZJXiaoXiViewController *vc = [[ZJXiaoXiViewController alloc] init]; // ZJXiaoXiViewController *vc = [[ZJXiaoXiViewController alloc] init];
[self.navigationController pushViewController:vc animated:YES]; // [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