modifyFriendInteractiveStorage fail game.json?
发布于 5 年前 作者 li53 1887 次浏览 来自 官方Issues

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

回到顶部