WAP game production (five)

Registration and Login

After all, this is a simple tutorial, I try to simplify the design of each module functions, such as registration module should contain the user's mailbox (verification), phone number (verification), QQ, image verification code (SMS verification code) and so on, but this tutorial only contains account number and password, because these two are a must, the rest of it on their own according to the curriculum expanded.

1, create a registration method

 

2, create a registration page view

3, create a user model, registration behavior

 

Guess you like

Origin www.cnblogs.com/evss/p/11497001.html