# wx.getExtConfig(Object object)
Start from base library version 1.1.0. Please remaining backward compatible.
with Promise style call: Supported
Mini Program plugin: Not supported
ObtainThird party platformCustom data fields.
# parameter
# 初始值 初始值
attribute | type | Default values | Required | Introductions |
---|---|---|---|---|
success | function | no | Interface calls the successful callback function | |
fail | function | no | Interface calls failed callback functions | |
complete | function | no | Callback function at the end of an interface call (both successful and unsuccessful calls are executed) |
# object.success callback
# parameter
# Object res
attribute | type | Introductions |
---|---|---|
ExtConfig | Object | Custom data for third-party platforms |
# Tips
- This interface is temporarily unable to pass through wx.canIUse To judge compatibility, developers need to judge for themselves wx.getExtConfig Exists to be compatible with
if (wx.getExtConfig) {
wx.getExtConfig({
success (res) {
console.log(res.extConfig)
}
})
}