先在开放域中
let opid = this._openId;
wx.modifyFriendInteractiveStorage({
key: '1',
opNum: 1,
operation: 'add',
toUser: opid,
success:res=>{
console.log("modifyFriendInteractiveStorage---success",res);
},
fail:res=>{
console.log("fail----res:",res);
}});
显示成功,然后在主域调用
wx.getUserInteractiveStorage({
keyList: ["1"],
success:res=>{
console.log("getUserInteractiveStorage--success:",res);
},
fail:res=>{
console.log("getUserInteractiveStorage--fail:",res);
}
})
提示出错
errMsg: "getUserInteractiveStorage:fail 系统错误,错误码:-1,system apperror"
请问下,有具体时间和微信号吗?