短信

最近更新时间:2023-10-20 15:19:22

我的收藏

sendSms

该 API 使用方法为 wx.sendSms(Object object)
功能说明:拉起手机发送短信界面。
参数及说明:Object object
属性
类型
默认值
必填
说明
phoneNumber
string
-
预填到发送短信面板的手
content
string
-
预填到发送短信面板的内容
success
function
-
接口调用成功的回调函数
fail
function
-
接口调用失败的回调函数
complete
function
-
接口调用结束的回调函数(调用成功、失败都会执行)