Loading…

Universal calling api address

If you want to customize the calling interface address according to the instructions in the api interface document, you can use the following method: ```javascript WXAPI.request(url, needSubDomain, method, data) ``` For example, the SDK method for reading the carousel banner image in the installation example: ```javascript WXAPI.banners() ``` It can also be called using a generic method: ```javascript WXAPI.request('/banner/list', true, 'get', {}) ``` All interfaces in the "apifm" Frontend API docs can be called using `request`, so you don't have to worry about what to do if some methods cannot be found in the SDK.