Home >Java >javaTutorial >Detailed explanation of order module in online shopping mall
Complete the functions of the order module
[My order query]
* Click my order in header.jsp.
* Submit to Servlet:
* Obtain user information:
* Call the business layer: paging query.
* Query all orders of the user:
* When querying each order, you need to The order items are queried together.
* Page jump
[Query an order]
Click the payment link on the order list page
Submit to Servlet:
* Receive data:
* Call the business layer:
* Page jump :
【Pay for the order】
Click to confirm the order on the order details page:
Submit to Servlet:
* Receive data: (name, phone number, address, select bank, order number, amount)
* Pay for the order: Redirect to Yibao’s website.
Attached Picture:
Business Operation of Order
Payment
Payment company’s profit model
The above is the detailed content of Detailed explanation of order module in online shopping mall. For more information, please follow other related articles on the PHP Chinese website!