has.getExtConfig(Object object)
Obtains the Ext configuration information.
Since: 1.0.0
Parameters
The input parameter is an object containing the following fields.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| success | function | No | Callback triggered when the API call is successful. |
| fail | function | No | Callback triggered when the API call fails. |
| complete | function | No | Callback triggered when the API call is complete, regardless of success or failure. |
Return value of success
| Parameter | Type | Description |
|---|---|---|
| extConfig | Object | Custom data of a third-party platform. |
Error code information
| Error Code | Error Message |
|---|---|
| 10000201 | getExtConfig error. For details, see Resource Manager Error Codes. |
Example:
has.getExtConfig({
success: (res) => {
console.info('getExtConfig success', res);
},
fail: (err) => {
console.error('getExtConfig fail', err);
},
complete: (res) => {
console.info('getExtConfig complete', res);
}
});