should the pictures uploaded by the background program edit product details via ueditor be saved to the database with a domain name, such as
(1)
or
(2) static/upload/2018-2-1/test.jpg
method in (1), at the front end (for example, Mini Program can render directly when reading product information, but there is a problem, that is, if the picture changes domain name later, or it will be troublesome after building image cluster)
(2) method is very convenient for image path to change domain name or image cluster, but how to spit data on the interface?