HomeDocs
Skip to main content

Mini Program API Invocation Method

The general method for invoking APIs within a Mini Program (excluding some listener-type APIs) is as follows:

dlt.xxxApi({
success: function (res) {
console.log(res);
},
fail: function (err) {
console.log(err);
},
complete: function () {
console.log(res);
},
});
Privacy agreementDeveloper agreementcontact us: developer_service.mi@transsion.com © 2024 MiniApp. All Rights Reserved.