# wx.miniapp.bindApple

iOS >= 1.0.9,Android >= 1.0.5

在系统登录态生效期间,调用接口绑定苹果账号。

# 参数

# Object object

属性 类型 默认值 必填 说明
success function 接口调用成功的回调函数
fail function 接口调用失败的回调函数
complete function 接口调用结束的回调函数

# object.fail 回调函数

# 参数
# Object res
属性 类型 说明
errCode number 错误码
errMsg string 错误提示

res.errCode

errCode 说明
-1 system error
10001011 系统登录态无效
10001037 苹果账号已存在, 绑定失败
-700000 前端错误,errMsg 将给出详细提示

# 示例代码

wx.miniapp.bindApple({
	success(res) {
		// 绑定成功	
	}
})