客户端拿到login的sessionKey
服务端对path进行签名
// 使用 hmac_sha256 对 path 进行签名
const signature = crypto
.createHmac('sha256', sessionKey)
.update(path)
.digest('hex')
调用wx.addPhoneCalendar({path: 'xxx', signature: signature})
添加日历失败: {err_code: "10003", errMsg: "addPhoneCalendar:fail invalid contractor"},这个报错是什么情况,全网搜不到这个报错什么意思
签名应该是正确的,因为如果签名不对的话会报签名无效的错误。
