Why does Mini Program adjust the front and back ends together?

I wrote a web page with the development tool given by Mini Program. The static pages are all written. The back end of the interface document is also given. How to test in the development environment. Is there a method similar to mock


has also been playing with Mini Program recently.
my understanding is that you need to configure the backend interface address to the whitelist in the backend of Mini Program before you can access the backend interface in the front end of Mini Program and then test it normally

Menu