java - How to implement: when entering a list page, different products are displayed every time? Details enter
仅有的幸福
仅有的幸福 2017-05-17 10:08:10
0
1
553

For example, a mall has 10 merchants, and each merchant has many products. The demand is: every time the user refreshes the page, he will see different products from different merchants. It is not as simple as a random number of product IDs, because it may be repeated. How to implement it specifically

仅有的幸福
仅有的幸福

reply all(1)
迷茫

If it is an in-memory database (which may be used by large shopping websites), you can use caching.

If not, it is recommended to implement it on the front-end page. The background is responsible for retrieving data.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template