export interface Params { type: number; } /** * * @name nfc * @title NFC * @param {number} [type=0] - nfc使用类型, 0:nfc验证 | 1:nfc读取并返回数据 * @return {string} code - 200:成功 | 404:失败 * @return {string} msg - 响应信息 * @return {string} data - 响应数据, 如果调用读取数据功能 返回具体数据 * @device Android * @fragment featch(params) { return suplink.nfc(params) } * @example * import { nfc } from '@suplink/jssdk'; * * nfc({ type: 0 }).then((res) => console.log(res)) */ export default function nfc(params?: Params): Promise>;