Home > Article > Backend Development > How to display product details in app
A product has product details, which are generally saved as HTML using a rich text editor in the background.
What I want to ask is, how should I provide the interface? Which of the following methods is better?
1. Save product details in the background, use all pictures, and save them as a picture array. When returning to the interface, return an array of all pictures, so that on the app side, one picture can be displayed row by row;
2 .Use a rich text editor in the background, save it, and then write an h5 adaptive page to display these html contents. The return interface is directly given to an h5 web page, so that the app can directly load the web page to the designated area
Which method is suitable?