1、变更推送为阿里云推,清除云信IM以及推送内容;
2、消息页面全新改版; 3、部分微小Bug修复
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "BaseVIewContorller.h"
|
||||
@interface AgreementViewController : BaseVIewContorller
|
||||
#import "BaseViewController.h"
|
||||
@interface AgreementViewController : BaseViewController
|
||||
|
||||
@end
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "BaseVIewContorller.h"
|
||||
@interface ForgetViewController : BaseVIewContorller
|
||||
#import "BaseViewController.h"
|
||||
@interface ForgetViewController : BaseViewController
|
||||
@property (weak, nonatomic) IBOutlet UITextField *phoneNumberFiled;
|
||||
@property (weak, nonatomic) IBOutlet UITextField *verifyTextFiled;
|
||||
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "BaseVIewContorller.h"
|
||||
#import "BaseViewController.h"
|
||||
#import "Utils.h"
|
||||
//#import <BaiduMapAPI_Search/BMKSearchComponent.h>
|
||||
//#import <BaiduMapAPI_Search/BMKGeocodeSearch.h>
|
||||
|
||||
@interface LogInViewController : BaseVIewContorller
|
||||
@interface LogInViewController : BaseViewController
|
||||
{
|
||||
// BMKGeoCodeSearch*_geocodesearch;
|
||||
}
|
||||
|
||||
@@ -286,12 +286,26 @@
|
||||
btn.backgroundColor = RGB(0, 184, 239);
|
||||
if ([result isEqualToString:@"100"]) {
|
||||
|
||||
|
||||
// 登录成功
|
||||
NSDictionary*DataDic=dict[@"data"];
|
||||
NSString*phoneNumber=self.loginPhoneNumberTextField.text;
|
||||
NSString*password=self.loginPasswordTextField.text;
|
||||
[[IfishUserDataUnity shareDataInstance] userloginValidationSuccsess:DataDic phoneNumber:phoneNumber passward:password];
|
||||
|
||||
//登陆成功之后,验证当前页面devicetoken是否上送成功,如果还未上送,则重新上送devicetoken
|
||||
if (![[NSUserDefaults standardUserDefaults] boolForKey:is_Bind_DeviceToken]) {
|
||||
UserModel *model=[[UserModel alloc] initWithDict:DataDic];
|
||||
NSDictionary *reqDic = @{
|
||||
@"deviceId":[FuncUserDefault strForKey:kDeviceToken],
|
||||
@"userId":model.userId
|
||||
};
|
||||
[[AFNOHeaderHttpTool sharedInstance] postRequestWihtUrl:Push_BindDevice_Url params:reqDic success:^(NSDictionary *successDic) {
|
||||
//绑定成功
|
||||
[FuncUserDefault setBool:YES key:is_Bind_DeviceToken];//已经上送了本机的devicetoken
|
||||
} failure:^(NSDictionary *errorDic) {
|
||||
|
||||
}];
|
||||
}
|
||||
}else if ([result isEqualToString:@"101"]){
|
||||
|
||||
[weakSelf.view makeToast:@"登录失败"];
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "MBProgressHUD.h"
|
||||
#import "BaseVIewContorller.h"
|
||||
#import "BaseViewController.h"
|
||||
|
||||
//#import <BaiduMapAPI_Search/BMKSearchComponent.h>
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "BaseVIewContorller.h"
|
||||
@interface ResetViewController : BaseVIewContorller
|
||||
#import "BaseViewController.h"
|
||||
@interface ResetViewController : BaseViewController
|
||||
@property (weak, nonatomic) IBOutlet UITextField *nwPasswordField;
|
||||
@property (weak, nonatomic) IBOutlet UITextField *RepeadNewPassFiled;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user