Browse Source

提示语修改

桂欢 1 year ago
parent
commit
3377e8da28

+ 3 - 3
SLAiELTS/SLAiELTS/ViewControllers/LoginVC/SLForgetPWViewController.m

@@ -48,7 +48,7 @@
         return;
     }
     if (phoneStr.length != 11) {
-        [ZFToast ShowWithMessage:@"手机号输入有误"];
+        [ZFToast ShowWithMessage:@"手机号格式错误"];
         return;
     }
     if (!self.codeTextField.text.length) {
@@ -56,11 +56,11 @@
         return;
     }
     if (!self.pwTextField.text.length) {
-        [ZFToast ShowWithMessage:@"请输入密码"];
+        [ZFToast ShowWithMessage:@"请输入6-16密码"];
         return;
     }
     if (![self.pwTextField.text isEqualToString:self.pwAgainTextField.text]) {
-        [ZFToast ShowWithMessage:@"两次输入密码不一致"];
+        [ZFToast ShowWithMessage:@"两次密码输入不一致"];
         return;
     }
     [[SLHttpCenter SharedInstance] postWithUrl:@"/api/Token/VerifyPhoneUpdatePass" parameter:@{@"phone" : phoneStr, @"password" : self.pwTextField.text, @"code" : self.codeTextField.text} success:^(id responseObject) {

+ 3 - 3
SLAiELTS/SLAiELTS/ViewControllers/LoginVC/SLLoginVCViewController.m

@@ -89,15 +89,15 @@
         return;
     }
     if (phoneStr.length != 11) {
-        [ZFToast ShowWithMessage:@"手机号输入有误"];
+        [ZFToast ShowWithMessage:@"手机号格式错误"];
         return;
     }
     if (!codeStr.length) {
-        [ZFToast ShowWithMessage:@"请输入密码"];
+        [ZFToast ShowWithMessage:@"请输入6-16密码"];
         return;
     }
     if (!self.protocolBtn.selected) {
-        [ZFToast ShowWithMessage:@"请勾选协议"];
+        [ZFToast ShowWithMessage:@"请阅读并同意用户服务协议和免责声明"];
         return;
     }
     NSMutableDictionary *parameter = [NSMutableDictionary dictionaryWithDictionary:@{@"phone" : phoneStr, @"password" : codeStr, @"code" : @"0", @"deviceBrand" : @"iPhone", @"deviceModel" : [NSString deviceModel]}];

+ 3 - 3
SLAiELTS/SLAiELTS/ViewControllers/LoginVC/SLRegistViewController.m

@@ -51,7 +51,7 @@
         return;
     }
     if (phoneStr.length != 11) {
-        [ZFToast ShowWithMessage:@"手机号输入有误"];
+        [ZFToast ShowWithMessage:@"手机号格式错误"];
         return;
     }
     MBProgressHUD *hub = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
@@ -79,7 +79,7 @@
         return;
     }
     if (phoneStr.length != 11) {
-        [ZFToast ShowWithMessage:@"手机号输入有误"];
+        [ZFToast ShowWithMessage:@"手机号格式错误"];
         return;
     }
     if (!codeStr.length) {
@@ -99,7 +99,7 @@
         return;
     }
     if (!self.protocolBtn.selected) {
-        [ZFToast ShowWithMessage:@"请勾选协议"];
+        [ZFToast ShowWithMessage:@"请阅读并同意用户服务协议和免责声明"];
         return;
     }
     NSDictionary *parameter = @{@"phone" : phoneStr, @"password" : pwStr, @"code" : codeStr, @"deviceBrand" : @"iPhone", @"deviceModel" : [NSString deviceModel], @"invitation" : self.inviteTextField.text};