getNfcData 获取Nfc数据

getNfcData

获取Nfc数据

#请求参数

Prop Type Required Default Description
param Object Y {} 请求参数

#接口调用示例

this.$bridge
    .getNfcData(params)
    .then(res => {    
    this.$alert(res)
    })
    .catch(err => {
    this.$toast(err)
    })

#返回参数

  • 成功时返回
Prop Type Default Description
code Number N/A 0获取成功
data String N/A NFC是什么内容就返回什么
  • 失败时返回
Prop Type Default Description
errorCode Number N/A -1获取失败 (没有也回调失败)
errorMessage String N/A 错误消息(如有)
posted on 2024-12-18 09:23  AtlasLapetos  阅读(11)  评论(0)    收藏  举报