my.MQFetchSelfcareParameters
Provides mini program JavaScript API to obtain parameter information related to selfcare.
Sample Code
copy
my.call('MQFetchSelfcareParameters',{
}).then((values)=>{
my.alert({
content:JSON.stringify(values)
});
}).catch((value)=>{
my.alert({
title:'faile',
content:JSON.stringify(value)
});
})
Parameters
No Requirement
Success Callback Function
Name | Type | Required | Description |
success | bool | M | Whether the JSAPI call is successful |
code | number | M | 0: success |
message | String | O | error message |
result | Object | O | response result parameters |
| String | M | device id params |
| String | M | user agent params |
| String | M | session id params,Obtained from the server-side interface (requesting micro API) |
Demo Response
若有收获,就点个赞吧