A product has product details. Generally, the background is saved as html in a rich text editor. What I want to ask is how to give my interface. Which of the following methods is better? 1. the product details are saved in the background, and all images are saved as image arrays. when the interface is returned, an array of all images is returned, allowing the app to have a picture... A product has product details. Generally, the background is saved as html in a rich text editor.
What I want to ask is how to give my interface. Which of the following methods is better,
1. the product details are saved in the background, all of which are saved as image arrays. when the interface is returned, an array of all images is returned, so that the app can display one image row by row;
2. use the rich text editor in the background to save and write an h5 adaptive page to display the html content. the returned interface is used to directly load the webpage to the specified area on the app side.
Which method is suitable?