Open Capabilities
my.openScanPage
Open the Rebell QR code scanning page.
Open the Rebell QR code scanning page from within a Mini Program.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Open the Rebell QR code scanning page.
| Property | Type | Required | Description |
|---|---|---|---|
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure |
| Property | Type | Description |
|---|---|---|
| success | Boolean | true if the scan succeeded, false if it failed |
my.call('openScanPage', {
success: (res) => {
my.alert({ content: 'success: ' + JSON.stringify(res) });
},
fail: (error) => {
my.alert({ content: 'error: ' + JSON.stringify(error) });
}
});