wx.modifyFriendInteractiveStorage({
key: key,
opNum:
operation:"add"
toUser: openId,
success: (data)=>{
console.log("修改当前用户好友的关系链互动数据 成功");
console.log(data);//
},
fail: (data)=>{
console.log("修改当前用户好友的关系链互动数据 失败");
console.log("openId = " + openId);
console.log(data);//
}
});
log 如下
openId = otSA85MrUCoeYE3PNEAgY8gCzLhA
errMsg: "modifyFriendInteractiveStorage:fail invalid modifyFriendInteractiveStorage config in game.json
谢谢