# sendCentralCloundRequest 通过APP向云端发送请求
# Attributes
| 属性 | 类型 | 必要 | 默认值 | 说明 |
|---|---|---|---|---|
| data | Object | N | {} | |
| url | String | Y | - | |
| needBase64 | Boolean | N | false | - |
# 调用示例
const data = {
data: {},
url: '/v1/appliance/user/list/get'
}
window.bridge.sendCentralCloundRequest(data, res => {
console.log(res)
}, err => {
console.log(err)
}, false)
# callback
| 属性 | 类型 | 必要 | 默认值 | 说明 |
|---|---|---|---|---|
| code | Number | N | - | |
| success | String | Y | - | |
| data | Object | Y | - |
# 接口返回示例
{
code: 0,
success: true,
data: {}
}