| | |
| | | // |
| | | |
| | | #import "MinePage.h" |
| | | #import "ChangeNamePage.h" |
| | | #import "ChangePwdPage.h" |
| | | #import "cameraHelper.h" |
| | | #import "BaseNaviController.h" |
| | |
| | | } |
| | | |
| | | #pragma mark - custom function begin |
| | | -(void)get_straner |
| | | { |
| | | //[UserDefault stringForKey:@"user_id"] |
| | | NSString *path = [[NSString alloc] initWithFormat:@"%@",[NSString stringWithFormat:GET_STRANER,[UserDefault stringForKey:@"user_id"]]]; |
| | | |
| | | NSMutableDictionary *param = [[NSMutableDictionary alloc] init]; |
| | | |
| | | MPWeakSelf(self); |
| | | [NetworkSingleton networkingGetMethod:param urlName:path success:^(id responseBody) |
| | | { |
| | | MPStrongSelf(self); |
| | | BaseResModel * resModel = [Global toBaseModel:responseBody]; |
| | | |
| | | if(resModel.code == 0) |
| | | { |
| | | //发送成功提示 |
| | | if(![Global isEmptyObject:resModel.content]) |
| | | { |
| | | |
| | | //count = resModel.content; |
| | | |
| | | } |
| | | else |
| | | { |
| | | [Global alertMessageEx:resModel.desc title:@"提示信息" okTtitle:nil cancelTitle:@"OK" delegate:self]; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | [Global alertMessageEx:resModel.desc title:@"提示信息" okTtitle:nil cancelTitle:@"OK" delegate:self]; |
| | | } |
| | | } |
| | | failure:^(NSString *error) |
| | | { |
| | | |
| | | [Global alertMessageEx:error title:@"获取失败" okTtitle:nil cancelTitle:@"OK" delegate:self]; |
| | | }]; |
| | | } |
| | | |
| | | |
| | | |
| | | -(void)exitLoginAction |