DailyFresh(everyday fresh food)
Tiantian Fresh is a classic case of the Django framework in Python. It is now implemented using Java SSM framework.
Version information
v1.1 Complete the registration function
Implement functions:
- User registration: Foreground verification, send ajax request after success, the controller responds and adds data to the database table
- User activation: query the user by generating a unique activation code and modify the user activation status
Problems found temporarily:
- Password clear text storage
- The email function is not completed
- The exception information is output on the page, giving people a bad experience
- There is an error in the username and password storage (there is a problem with json resolution in Controller), and the format stored in the database is
'"DATA"' , resulting in a problem in the query
v1.2 Complete login function
Implement functions:
- User login: Query the user through the user name and password and determine whether the user is activated. After the login is successful, the user will be stored in the session.
- Log out: Clear user information stored in session
- Remember username: determine whether the user checks
记住用户名and store the information in the cookie - The user welcome message is displayed at the top of the home page: display the welcome message by determining whether there are users in the session
- Solve json parsing problem
- Server exceptions of 500 or above will display the
error.jsp page, and the exception information will be output through the console.
Problems to be solved:
- Password clear text storage
- The email function is not completed
- 400 and above error output on the page
v1.3 User Center
Implement functions:
- User personal information page: Check the user's basic information displayed on the page
- User address page: Check the user's default harvest address displayed on the page
- Add address: Add address to the address table corresponding to the user table
- Interceptor: The user needs to log in to access the user center page. Set a jump parameter. After logging in, the user can jump directly to the intercepted page.
- Page extraction: Merge information pages (error.jsp, registerOK.jsp, active.jsp) into one (info.jsp)
Problem to be solved: Same as the previous version
v1.4 Backend Management (Users and their Addresses)
Implement functions:
- User information CRUD: Query all users and display them on a page; add users; modify user information; delete users (delete all selected users)
- Address information CRUD: query the user ID for its address display; add the address; modify the address; delete the record
Not yet resolved:
- Administrator login
- Manage page blockers
- Legacy issues in the previous version
v1.5 background management is basically completed
Implement functions:
- Product type query and modification: The product type is fixed, and only its image url can be modified
- Product SPU query
- Product SKU query and modification
- CRUD of the carousel picture on the home page
- Administrator homepage
- Administrator login : Verification containing verification code
- Manage page blockers
The problem has not been resolved:
- Password clear text storage
- The email function is not completed
- 400 and above error output on the page
v1.6 Product Page
Implement functions:
- Home page: Display content by querying the database
- Number of shopping carts: Redis database stores user shopping cart information, and can query the number of products for display
- Product Details Page
- Product List Page
- Product query: Display the queryed products through fuzzy query
- Product Add to Cart: Shopping Cart Controller Response
Not yet resolved: Legacy issues in the previous version
v1.7 Shopping Cart
Implement functions:
- User shopping cart page (this page is intercepted by the login interceptor)
- Select the product dynamically to modify the total price of the product and the total product
- Increase or decrease in shopping cart pages and delete responses in corresponding shopping cart controllers
Not yet resolved: Legacy issues in the previous version
Ultimate
Implement functions:
- Order generation
去付款orders and确认收货- Order payment: Use Alipay to make payment, and jump back to the order page after payment is completed.
- The error message on most pages is changed from alert pop-up window to global pop-up box
- Mail function implementation
- MD5 encrypted password storage
Note: This version function is basically implemented and is the final version. In the future, only bug fixes and other modifications will be carried out on this version.