wx.makePhoneCall-拨打电话

wx.makePhoneCall(OBJECT)


OBJECT参数说明:

参数类型必填说明
phoneNumberString需要拨打的电话号码
successFunction接口调用成功的回调
failFunction接口调用失败的回调函数
completeFunction接口调用结束的回调函数(调用成功、失败都会执行)


示例代码:

wx.makePhoneCall({
    phoneNumber: '138' //仅为示例,并非真实的电话号码
})