# commandInterface 通用接口

# Attributes

属性 类型 必要 默认值 说明
operation String Y -
params Object Y -

# 调用示例

window.bridge.commandInterface('operationType', {
    key: 'value'
}, res => {
    console.log(res)
}, err => {
    console.log(err)
})

# callback

属性 类型 必要 默认值 说明

# 接口返回示例

{}