[0729] Members registered job

1, register and login feature, known account number and password can log in directly, if no account can be used after registering just registered account login

2, the time of registration, if the account already exists, can not be registered

3, the time of registration, set the password twice, if two different password too, can not be registered

4, when the login, password wrong three times, locked accounts

5, when logging in, if not the account, then alert the user registration, registration can log

6, login time, username and password are correct to enter a verification code, verification code and the system gives the user the same input, allow login (ignore case)

7. After logging in, users can see the user's reservation information

 1 package com.login2;
 2 
 3 public class Login {
 4     private String accounts;//登录账户
 5     private String password;//登录密码
 6     private String phone;//手机号
 7     public String getPhone() {
 8         return phone;
 9     }
10     public void setPhone(String phone) {
11         this.phone = phone;
12     }
13     public String getAccounts() {
14         return accounts;
15     }
16     public void setAccounts(String accounts) {
17         this.accounts = accounts;
18     }
19     public String getPassword() {
20         return password;
21     }
22     public void setPassword(String password) {
23         this.password = password;
24     }
25     
26     public Login() {
27         // TODO Auto-generated constructor stub
28     
29     }
30     public Login(String accounts, String password, String phone) {
31         super();
32         this.accounts = accounts;
33         this.password = password;
34         this.phone = phone;
35     }
36 }

 

 

还得在琢磨琢磨.....

Guess you like

Origin www.cnblogs.com/yanglanlan/p/11272936.html