Overview
The framework enables you to support mini programs by calling the Log and pullSpaceContent APIs from the IAPASAP SDK module through the JSAPI provided by the IAPMiniProgram SDK.
Notes:
API interfaces accept one object as the parameter. It is possible to specify success (call success), fail (call failure) and complete (call success or failure) to receive the interface call result.
The callback result is generally an object unless otherwise specified. If an error/errorMessage is included, it indicates call failure. The result value after the call is a promise object.
Example
copy
my.call('ASAPLogClick',{
eventName: "click1",
businessCode:"ASAP",
bizType: "ASAP",
param: {
contentId: "contentIdDummy",
extras:{
}
},
success:(res) => {},
fail:(error) => {},
complete:() => {}
})