说明书更改为内置图片,微信登陆时更换手机号加强验证

This commit is contained in:
kai60
2020-12-20 17:54:01 +08:00
parent 0ece8602fb
commit 6796226366
31 changed files with 439 additions and 41 deletions
@@ -25,7 +25,7 @@
// CFShow((__bridge CFTypeRef)(infoDic));
NSString *app_Version=[infoDic objectForKey:@"CFBundleShortVersionString"];
NSLog(@"app_Version%@",app_Version);
app_Version=@"4.7.7";
app_Version=@"4.7.8";
NSString *versionStr = [NSString stringWithFormat:@"v%@",app_Version];
NSString *buildVersion = [infoDic objectForKey:@"CFBundleVersion"];
if (buildVersion.length > 0) {
@@ -27,8 +27,11 @@
[self addTitleViewWithTitle:@"更换手机号"];
//self.title = @"更换手机号";
UserModel*model=[[DataCenter defaultDtacenter]valueForKey:@"UserLogIn"];
NSMutableString*string=[[NSMutableString alloc]initWithString:model.phoneNumber];
[string replaceCharactersInRange:NSMakeRange(3, 4) withString:@"***"];
NSMutableString*string=[[NSMutableString alloc]initWithString:[CommonUtils getNotNilStr:model.phoneNumber]];
if (string.length>7) {
[string replaceCharactersInRange:NSMakeRange(3, 4) withString:@"***"];
}
self.yuanTelPhone.text=string;
[self.timerbutton addTarget:self action:@selector(startTime) forControlEvents:UIControlEventTouchUpInside];
[self textStyle];