[WeChat Mini Programs] how to traverse the pictures in cloud storage?

here"s the thing. I want to make a broadcast
I first upload three pictures in the cloud

WXML






but unfortunately I can"t find the API of the search file in the official document

.

how can I fulfill my requirements ?


there should be an interface on the cloud where you store pictures, that is, a URL like this: https://www.XXX.com/images. Then use the request method that comes with Mini Program to call the API and get the returned image data.


after the uploadFile is successful, there will be a fileid, in the returned value. You can save the id in a collection and call it directly when you want to use it.

Menu